Commits


drop privileges after the fork


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)


ensure absolute paths in config-less mode


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.


remove unused function


-v for verbose logging


improve configuration parsing error


drop unused variable


use starts_with in puny.c


make configless mode works again. also accept every host


drop the daemon config in favour of the -f flag Now it daemonize by default when running with a config, unless the -f flag is given.


initial punycode support


sane defaults for the config-less mode


rework the configless mode: change flags and generate certs


chroot & drop privileges