Commits
- Commit:
c8b74339185123feebb6164b91f500f1930e45ff
- 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:
7b31a6386d6f80a3dd79af7d56bbf48b6eb7a264
- From:
- Omar Polo <op@omarpolo.com>
- Date:
test CGI with big files
- Commit:
28ec61780962b6aa7b50845e3738399a92dc9e0c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync the CGI environment with the manpage
while there also add SERVER_PROTOCOL
- Commit:
ba7b2faa861032ba8e30a76aac2c6eef4de0b84c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync
- 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:
0baf6bed2a419b617d47e27c4687fccb1e721e49
- From:
- Omar Polo <op@omarpolo.com>
- Date:
pass the fd, not the path!
- 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:
a7b9bb4d24e5f0d9ae6a1d67ac2224e0aef64d4e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
specify in which directory CGI scripts are executed
- Commit:
05748e49fed64039616d4bb06a7e09388b0f5467
- From:
- Omar Polo <op@omarpolo.com>
- Date:
chdir to the vhost root before exec'ing the CGI script
- Commit:
e7a2a99b5acfd15f0a0bba63344ec028a36700b3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
added index option
- Commit:
9adde3d8b2936f53d7b658c91f627336f563ab23
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reuse the same buffer for the request and response
- Commit:
6cdecad88df2a3f0dca17db0a176bf34d67ade83
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix test portability
wc return 2048 on fedora (it doesn't count the trailing \n), while on
OpenBSD, Void linux on aarch64 and Alpine linux on vmd(8) returns
2049.
- Commit:
f62aab517ddf73e0e5ea09452dab58f73315b2c8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
handle TLS_WANT_POLL{IN,OUT}
libtls doesn't seem to return when doing blocking I/O, but libretls
does every single time.