Commits
- Commit:
793835cb26c39202133c754fb33f8909ebf8fb92
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add `log on/off' to enable/disable logs per-location
- Commit:
d278a0c3c50146c703b675ca4dac1d58ef286585
- From:
- Omar Polo <op@omarpolo.com>
- Date:
moving logging to its own process
- Commit:
52418c8d828bc25e0e84cc25d5e349a84be0b397
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix various compilation errors
Include gmid.h as first header in every file, as it then includes
config.h (that defines _GNU_SOURCE for instance).
Fix also a warning about unsigned vs signed const char pointers in
openssl.
- Commit:
9356f61a63d2d50194884ada28a9f3164fdd00f4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
BUFSIZ is variable, we need *exactly* 1024
Using BUFSIZ in sbuf is not OK. It's variable, and in various places
we assume that sbuf is 1024 (like handle_cgi_reply). We could patch
those, but we aren't sure BUFSIZ is >= 1024! Let's keep the hardcoded
number.
(found by debugging on arch on amd64, where BUFSIZ is bigger)
- Commit:
27b2fa9ae5d7a3807eea150cef5163931929cc23
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't mmap
Before we mmap(2) file for reading, and use a buffer to handle CGI
scripts. Turns out, for sequential access over the whole mmap isn't
better than our loop on read. This has also the additional advantage
that we can use handle_cgi (now handle_copy) for both files and CGI,
which is pretty cool.
This also fixes a nasty bug where we could hang a connection forever,
because we scheduled the wrong type of event (read on POLLOUT and
write on POLLIN, it's the other way around!)
- Commit:
02be96c6ddfc34e448cccd095b4f3d0efe4de8a3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add `require client ca' rule to require certs signed by a CA
- Commit:
d090dc8491682f30c49da381498c283c61f2e37b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
define config_path as global variable
- Commit:
abc007d2b32f597054399bd8fe72c1fbffdfb6a9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rewrite main loop using libevent
- Commit:
b63e30ff449ee1cf0091d5431f9b72cdd3b1e7e0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
define TLS_CLIENT_NOT_BEFORE/NOT_AFTER in CGI scripts
- Commit:
9f006a2127398af12ecf9159cd5ef28b3685e7a6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
[cgi] split the query in words if needed and add them to the argv
- Commit:
3abf91b0b4a06e5d2f90e41f948e9c16478e23c7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
improve logs management
- Commit:
a709ddf5eb71e90a66cfd02bdaa9116c7f7ec3d6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
added prefork option
- Commit:
e3ddf390950bf51d0c6c9cc6b931879006936e4c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add the ``entrypoint'' option
- Commit:
6abda252e960943a302f7a945b1d008e463ea316
- From:
- Omar Polo <op@omarpolo.com>
- Date:
added ``block return'' and ``strip'' options
- Commit:
ca21e1004303c6ccff7713813ab5238426414d8f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reload configuration on SIGHUP