summaryrefslogtreecommitdiffstats
path: root/include/config.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement URL rewrites with regex capture groupsDrew DeVault2020-11-011-0/+1
|
* Initial pass on regex routing supportDrew DeVault2020-10-291-2/+2
| | | | | | | | | 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.
* Initial support for CGI scriptsDrew DeVault2020-10-251-0/+1
|
* Initial implementation of a routing tableDrew DeVault2020-10-251-2/+21
|
* Remove [:tls] email directiveDrew DeVault2020-09-261-1/+0
|
* Implement autoindex optionDrew DeVault2020-09-261-0/+5
|
* Implement TLS exchange with clientsDrew DeVault2020-09-241-1/+1
| | | | 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-241-0/+2
| | | | Includes hands-free certificate generation and loading
* Implement basic server event loopDrew DeVault2020-09-231-1/+1
|
* Initialize socketsDrew DeVault2020-09-231-0/+2
|
* config: parse listen directivesDrew DeVault2020-09-231-1/+1
|
* Initial config parserDrew DeVault2020-09-231-0/+34