1
0
forked from aniani/gmnisrv
Commit Graph

9 Commits

Author SHA1 Message Date
Drew DeVault
7e8a953794 Initial pass on regex routing support
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.
2020-10-29 22:47:56 -04:00
Drew DeVault
165e3c02fc Rehome some logic from server.c -> serve.c 2020-09-26 15:08:25 -04:00
Drew DeVault
dfab99ace5 Serve files from root 2020-09-26 14:36:52 -04:00
Drew DeVault
0d1137f987 Implement TLS store
Includes hands-free certificate generation and loading
2020-09-24 17:51:29 -04:00
Drew DeVault
b85c64b441 Generalize logging 2020-09-23 14:32:52 -04:00
Drew DeVault
65c2a56c6d Initialize sockets 2020-09-23 12:43:05 -04:00
Drew DeVault
58500c8e53 Initial config parser 2020-09-23 11:24:23 -04:00
Drew DeVault
ccae8ffd28 Vendor in some support code 2020-09-23 10:40:14 -04:00
Drew DeVault
61b84a77c0 Initial commit 2020-09-23 10:21:44 -04:00