summaryrefslogtreecommitdiffstats
path: root/src/server.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix size of in{,6}_addrDrew DeVault2020-09-261-2/+2
|
* Document (and tweak) log formatDrew DeVault2020-09-261-3/+2
|
* Free up resources throughoutDrew DeVault2020-09-261-4/+14
|
* disconnect_client: free more client resourcesDrew DeVault2020-09-261-0/+7
|
* Implement autoindex optionDrew DeVault2020-09-261-6/+5
|
* Rehome some logic from server.c -> serve.cDrew DeVault2020-09-261-119/+1
|
* 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-261-11/+82
|
* disconnect_client: clean up biosDrew DeVault2020-09-261-2/+3
|
* 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-241-6/+99
| | | | This probably leaves a bit to be desired tbh
* Log bind addresses on startupDrew DeVault2020-09-241-1/+4
|
* Generalize loggingDrew DeVault2020-09-231-28/+5
|
* 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-231-0/+92