Commits
- Commit:
ae08ec7da5bf349bea4621219df41f297b3116e9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
chroot & drop privileges
- Commit:
2030e314860f1ba4a1b0294b741164dca2391466
- From:
- Omar Polo <op@omarpolo.com>
- Date:
order
- Commit:
252908e6bb335c42249a3d5fe6ecaa4daf5a3e3e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
added support for location blocks
- Commit:
501e489c90eeddec3f29b014864f57e840ea1fa8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
initialize config
- Commit:
8d6ae384be450ca7b53b0a718249a86fb46bf412
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move configuration init stuff in its own function
- Commit:
f77a8c867ecc2881d60345b9e1b1ee4259189e9a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add ends_with
- Commit:
ea28a44931e2a38553fd2217f8471216da9b5ca8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
const-ify parameter to strtonum
- Commit:
a5a09e44b2ca3fa86ecf401f3907dff8c2012d98
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use strtonum
- Commit:
b2a6b6137186dd3fce21640150926a133a35c2c8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename mimes to mime ; pass config esplicitly to mime* functions
- Commit:
0ab65593e21482c53ece36aa954204d7b202d351
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't crash on wrong vhost or missing SNI
the new logging code was crashing if the client didn't support SNI or
if required an unknown vhost: this because we short-circuit in
handle_handshake to an error, so c->iri isn't populated yet (we don't
even read the request).
fixes #1
- Commit:
0be51733ef271183e8164b8de1871cba634c1508
- From:
- Omar Polo <op@omarpolo.com>
- Date:
improve logs
now we log the full IRI requested (before was only the path) and the
response line (even for CGI).
- Commit:
0fbe79b33c1d16b0611851e2019558ce8888a02e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
improve mime handling
we still have an hardcoded list, but this implements the API needed to
modify the mappings.
- Commit:
132cae8c6f2c5866ff84058ac9461ca95d63ed8b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
removing err/warn functions with our fatal
err/warn is not available on some systems (unfortunately!) and in any
case don't play well with our daemon mode (that closes std{in,out,err}).
Use our fatal that is daemon-aware.
- Commit:
d3a08f4d172687d4e3e60e7faaa8830bb7f9f9db
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reorganize: move bunch of functions to server.c
cgi.c wasn't really needed; it better to group all the server related
functions together, cgi or not. Now gmid.c contains only startup and
utility code.
- Commit:
0170ba023f9c85bde2c4ae410b0af741383b7317
- From:
- Omar Polo <op@omarpolo.com>
- Date:
re-enable daemon mode
with the split into two process, the call to daemon was lost