Commit Briefs

Omar Polo

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.


Omar Polo

add newline after usage


Omar Polo

fix seccomp for the new event loop

add/remove syscalls from the BPF filter and move sandbox() after libevent initialisation


Omar Polo

improve logs management


Omar Polo

added prefork option


Omar Polo

add the ``entrypoint'' option



Omar Polo

missing argument for LOGI


Omar Polo

avoid race-condition

what if we receive a SIGHUP right after unblock_signal (or during the whole block_signals...unblock_signals) but *before* the wait_sighup? Yeah.


Omar Polo

reload configuration on SIGHUP



Omar Polo

refactor executor_main

now it's symmetrical to listener_main().


Omar Polo

refactoring startup logic


Omar Polo

drop privileges after the fork


Omar Polo

configless: fixing the case of the implicit "."

I got bitten by the scope visibility rules. After the end of the block, the path variable is no longer valid, and in fact later load_vhosts fails to open that (because the buffer gets invalidated)