summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Drop most of the unicode tablesDrew DeVault2020-10-291-4210/+0
|
* Initial pass on regex routing supportDrew DeVault2020-10-294-2/+4501
| | | | | | | | | All this does is parse the regexes out of the config file. I've vendored libregexp from Bellard's quickjs project, because it's reasonably small and self-contained, and POSIX regexes don't support captures. We're eventually going to want captures for URL rewrites, so this'll do for now.
* Implement MIME database supportDrew DeVault2020-10-281-1/+3
|
* Initial support for CGI scriptsDrew DeVault2020-10-251-0/+1
|
* Initial implementation of a routing tableDrew DeVault2020-10-251-2/+21
|
* Overhaul network I/O to be async for realDrew DeVault2020-10-252-7/+8
| | | | | Had to totally cut off OpenSSL from the network fd because obviously OpenSSL is just going to wreck our shit
* Change assert to 2-param version to comply with C11.Kevin Sangeelee2020-09-291-1/+1
|
* Remove [:tls] email directiveDrew DeVault2020-09-261-1/+0
|
* Free up resources throughoutDrew DeVault2020-09-261-3/+4
|
* Implement autoindex optionDrew DeVault2020-09-262-2/+7
|
* Rehome some logic from server.c -> serve.cDrew DeVault2020-09-261-0/+11
|
* 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-261-1/+3
|
* Log response body size in bytesDrew DeVault2020-09-261-0/+1
|
* Serve files from rootDrew DeVault2020-09-261-0/+6
|
* Parse requests and serve simple responsesDrew DeVault2020-09-262-2/+47
|
* Implement TLS exchange with clientsDrew DeVault2020-09-243-4/+10
| | | | This probably leaves a bit to be desired tbh
* tls: move cert/key into host structureDrew DeVault2020-09-241-0/+2
| | | | | | | | 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-242-0/+10
| | | | Includes hands-free certificate generation and loading
* Generalize loggingDrew DeVault2020-09-231-0/+10
|
* Implement basic server event loopDrew DeVault2020-09-232-2/+11
|
* Initialize socketsDrew DeVault2020-09-232-0/+33
|
* config: parse listen directivesDrew DeVault2020-09-231-1/+1
|
* Initial config parserDrew DeVault2020-09-231-0/+34
|
* Vendor in some support codeDrew DeVault2020-09-234-0/+367