summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Free up resources throughoutDrew DeVault2020-09-264-11/+34
|
* disconnect_client: free more client resourcesDrew DeVault2020-09-261-0/+7
|
* Implement autoindex optionDrew DeVault2020-09-263-25/+169
|
* Rehome some logic from server.c -> serve.cDrew DeVault2020-09-262-119/+129
|
* Bump client buffer size to BUFSIZDrew DeVault2020-09-261-1/+0
|
* Log response body size in bytesDrew DeVault2020-09-261-1/+4
|
* Serve files from rootDrew DeVault2020-09-262-11/+112
|
* disconnect_client: clean up biosDrew DeVault2020-09-261-2/+3
|
* Always log server messages to stderrDrew DeVault2020-09-261-1/+1
| | | | So that you can just direct stdout to a file to get the request log.
* Parse requests and serve simple responsesDrew DeVault2020-09-261-17/+169
|
* Use O_NONBLOCK for client file descriptorsDrew DeVault2020-09-261-2/+13
|
* Implement TLS exchange with clientsDrew DeVault2020-09-244-12/+134
| | | | This probably leaves a bit to be desired tbh
* tls: move cert/key into host structureDrew DeVault2020-09-241-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 storeDrew DeVault2020-09-243-3/+186
| | | | Includes hands-free certificate generation and loading
* Log bind addresses on startupDrew DeVault2020-09-242-1/+6
|
* Generalize loggingDrew DeVault2020-09-232-28/+66
|
* Implement basic server event loopDrew DeVault2020-09-231-4/+180
|
* Generalize IPV6_V6ONLY usageDrew DeVault2020-09-231-1/+1
| | | | Some platforms other than Linux may implement this socket option.
* Initialize socketsDrew DeVault2020-09-233-1/+131
|
* config: parse listen directivesDrew DeVault2020-09-231-3/+58
|
* Initial config parserDrew DeVault2020-09-233-5/+179
|
* Vendor in some support codeDrew DeVault2020-09-234-0/+1887
|
* Initial commitDrew DeVault2020-09-231-0/+10