| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | return false on request_validate errors | Chris Vittal | 2020-10-12 | 1 | -1/+4 |
| | | | | | | This will report proper errors to clients rather than continuing on with request processing. | ||||
| * | Bubble up client disconnect state | Drew DeVault | 2020-09-27 | 1 | -23/+36 |
| | | | | | This will fix the segfaults but won't fix slowlorris | ||||
| * | Break after processing polled client | Drew DeVault | 2020-09-27 | 1 | -0/+3 |
| | | | | | Otherwise we might not grok it, ya jive | ||||
| * | Only handle one client per poll iteration | Drew DeVault | 2020-09-27 | 1 | -8/+4 |
| | | | | | | This is a bit of a hack but it avoids some problems with invalid reads when a client gets disconnected | ||||
| * | mime: add .xml -> text/xml | Drew DeVault | 2020-09-27 | 1 | -0/+3 |
| | | |||||
| * | server.c: re-locate definitions to appropriate scope | Drew DeVault | 2020-09-26 | 1 | -7/+7 |
| | | |||||
| * | Set SO_REUSEADDR | Drew DeVault | 2020-09-26 | 1 | -1/+2 |
| | | |||||
| * | server.c: appease GCC's magic pixie bullshit | Drew DeVault | 2020-09-26 | 1 | -2/+2 |
| | | |||||
| * | server.c: import netinet/in.h | Drew DeVault | 2020-09-26 | 1 | -0/+1 |
| | | |||||
| * | Fix size of in{,6}_addr | Drew DeVault | 2020-09-26 | 1 | -2/+2 |
| | | |||||
| * | Document (and tweak) log format | Drew DeVault | 2020-09-26 | 1 | -3/+2 |
| | | |||||
| * | Remove [:tls] email directive | Drew DeVault | 2020-09-26 | 1 | -2/+0 |
| | | |||||
| * | Free up resources throughout | Drew DeVault | 2020-09-26 | 4 | -11/+34 |
| | | |||||
| * | disconnect_client: free more client resources | Drew DeVault | 2020-09-26 | 1 | -0/+7 |
| | | |||||
| * | Implement autoindex option | Drew DeVault | 2020-09-26 | 3 | -25/+169 |
| | | |||||
| * | Rehome some logic from server.c -> serve.c | Drew DeVault | 2020-09-26 | 2 | -119/+129 |
| | | |||||
| * | Bump client buffer size to BUFSIZ | Drew DeVault | 2020-09-26 | 1 | -1/+0 |
| | | |||||
| * | Log response body size in bytes | Drew DeVault | 2020-09-26 | 1 | -1/+4 |
| | | |||||
| * | Serve files from root | Drew DeVault | 2020-09-26 | 2 | -11/+112 |
| | | |||||
| * | disconnect_client: clean up bios | Drew DeVault | 2020-09-26 | 1 | -2/+3 |
| | | |||||
| * | Always log server messages to stderr | Drew DeVault | 2020-09-26 | 1 | -1/+1 |
| | | | | | So that you can just direct stdout to a file to get the request log. | ||||
| * | Parse requests and serve simple responses | Drew DeVault | 2020-09-26 | 1 | -17/+169 |
| | | |||||
| * | Use O_NONBLOCK for client file descriptors | Drew DeVault | 2020-09-26 | 1 | -2/+13 |
| | | |||||
| * | Implement TLS exchange with clients | Drew DeVault | 2020-09-24 | 4 | -12/+134 |
| | | | | | This probably leaves a bit to be desired tbh | ||||
| * | tls: move cert/key into host structure | Drew DeVault | 2020-09-24 | 1 | -9/+4 |
| | | | | | | | | | We'll later want to set these on the SSL object (rather than SSL_CTX), so move these into the host struct for later access. We'll prefer to set it on the SSL object so that we can automatically use an up-to-date certificate, per ~sircmpwn/gmni#26. | ||||
| * | Implement TLS store | Drew DeVault | 2020-09-24 | 3 | -3/+186 |
| | | | | | Includes hands-free certificate generation and loading | ||||
| * | Log bind addresses on startup | Drew DeVault | 2020-09-24 | 2 | -1/+6 |
| | | |||||
| * | Generalize logging | Drew DeVault | 2020-09-23 | 2 | -28/+66 |
| | | |||||
| * | Implement basic server event loop | Drew DeVault | 2020-09-23 | 1 | -4/+180 |
| | | |||||
| * | Generalize IPV6_V6ONLY usage | Drew DeVault | 2020-09-23 | 1 | -1/+1 |
| | | | | | Some platforms other than Linux may implement this socket option. | ||||
| * | Initialize sockets | Drew DeVault | 2020-09-23 | 3 | -1/+131 |
| | | |||||
| * | config: parse listen directives | Drew DeVault | 2020-09-23 | 1 | -3/+58 |
| | | |||||
| * | Initial config parser | Drew DeVault | 2020-09-23 | 3 | -5/+179 |
| | | |||||
| * | Vendor in some support code | Drew DeVault | 2020-09-23 | 4 | -0/+1887 |
| | | |||||
| * | Initial commit | Drew DeVault | 2020-09-23 | 1 | -0/+10 |
