Commits
- Commit:
8443bff77ac2c8a055d9125dc2f621df124b78ef
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rework the configless mode: change flags and generate certs
- Commit:
252908e6bb335c42249a3d5fe6ecaa4daf5a3e3e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
added support for location blocks
- Commit:
c8b74339185123feebb6164b91f500f1930e45ff
- From:
- Omar Polo <op@omarpolo.com>
- Date:
added support for location blocks
- Commit:
07b0a14218f3779013d657d5e737c4a2e739a9eb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
void-ify some functions
their return value is no longer used, it's only confusing at this point.
- Commit:
a87f6625658284c10597c2835135397ae698ad6c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactoring state management
instead of having a flag to discern between two different behaviours
in S_SENDING, split that state into S_SENDING_FILE and S_SENDING_CGI
(this will also make it easier in the future to add other sending
states). While there, also get rid of `goodbye' and make start_reply
advance the state machine by itself.
- Commit:
e7a2a99b5acfd15f0a0bba63344ec028a36700b3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
added index option
- Commit:
3309ef975cf570aeb5c1dbf568af323c19bbb3c0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
accumulate the whole response line for CGI scripts
- Commit:
f890c8c54d88b529dc568eaf187b29a5acf6d22d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use a helper to handle no-body replies
- Commit:
36162ed86d688a25773a4575c164f8b6ac08632b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename goodbye -> close_conn
- Commit:
d1ca3911d29c9fb2147695b6622d9a088041a534
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix redirects
make sure redirect starts with /. This also requires a tweak in
check_path, in the case we go open_file -> send_dir -> open_file ->
check-path and the path starts with a slash.
- Commit:
06f233ad8aeb4c82d97e742c38792217e946efe0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
ensure we're in the correct state
- Commit:
b4d409cf293cdf029cefd19a531463a334bc065b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use fnmatch on the domain name
- Commit:
ce79c944bcbc49b1874e6207a0546a4297571dfc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify flow when SNI is missing
this also gives a chance for users to use the default host even if SNI
is missing.
- 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).