Commit Briefs

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)



Omar Polo

set cloexec status on the socketpair fds

the executor forks to spawn the cgi scripts, and they inherit the socket for communication with the listener process. Make that impossible.