summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Only handle one client per poll iterationDrew DeVault2020-09-271-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/xmlDrew DeVault2020-09-271-0/+3
|
* server.c: re-locate definitions to appropriate scopeDrew DeVault2020-09-261-7/+7
|
* README.md: update example configDrew DeVault2020-09-261-2/+5
|
* Set SO_REUSEADDRDrew DeVault2020-09-261-1/+2
|
* server.c: appease GCC's magic pixie bullshitDrew DeVault2020-09-261-2/+2
|
* server.c: import netinet/in.hDrew DeVault2020-09-261-0/+1
|
* config.ini: change suggested root directoryDrew DeVault2020-09-261-1/+1
|
* Fix size of in{,6}_addrDrew DeVault2020-09-261-2/+2
|
* Document (and tweak) log formatDrew DeVault2020-09-262-3/+16
|
* README.md: formattingDrew DeVault2020-09-261-2/+3
|
* Add dependency listDrew DeVault2020-09-261-0/+6
|
* DocumentationDrew DeVault2020-09-266-8/+150
|
* Remove [:tls] email directiveDrew DeVault2020-09-263-4/+0
|
* Free up resources throughoutDrew DeVault2020-09-265-14/+38
|
* disconnect_client: free more client resourcesDrew DeVault2020-09-261-0/+7
|
* Implement autoindex optionDrew DeVault2020-09-265-27/+176
|
* Rehome some logic from server.c -> serve.cDrew DeVault2020-09-264-119/+141
|
* Okay, time to quit fucking around with BUFSIZDrew DeVault2020-09-261-1/+2
|
* Turns out BUFSIZ is small sometimesDrew DeVault2020-09-261-2/+1
|
* Bump client buffer size to BUFSIZDrew DeVault2020-09-262-2/+3
|
* Log response body size in bytesDrew DeVault2020-09-262-1/+5
|
* Serve files from rootDrew DeVault2020-09-264-11/+119
|
* 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-263-19/+216
|
* Use O_NONBLOCK for client file descriptorsDrew DeVault2020-09-261-2/+13
|
* Implement TLS exchange with clientsDrew DeVault2020-09-247-16/+144
| | | | This probably leaves a bit to be desired tbh
* tls: move cert/key into host structureDrew DeVault2020-09-242-9/+6
| | | | | | | | 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-246-4/+198
| | | | Includes hands-free certificate generation and loading
* configure: add --libdirEyal Sawady2020-09-241-7/+9
|
* Log bind addresses on startupDrew DeVault2020-09-242-1/+6
|
* Add README.mdDrew DeVault2020-09-241-0/+3
|
* Generalize loggingDrew DeVault2020-09-234-28/+78
|
* Implement basic server event loopDrew DeVault2020-09-233-6/+191
|
* Generalize IPV6_V6ONLY usageDrew DeVault2020-09-232-7/+1
| | | | Some platforms other than Linux may implement this socket option.
* Initialize socketsDrew DeVault2020-09-237-1/+171
|
* config: parse listen directivesDrew DeVault2020-09-232-4/+59
|
* Initial config parserDrew DeVault2020-09-238-10/+248
|
* Vendor in some support codeDrew DeVault2020-09-239-1/+2258
|
* Initial commitDrew DeVault2020-09-236-0/+915