Commit Briefs

Omar Polo

fix "first location" bug

reported by devel at datenbrei dot de. The first location would overwrite the default value for a server, triggering the "`foo' rule specified more than once" error. This also needed a small tweak on how we match locations to avoid breaking other tests.



Omar Polo

refactor apply_block_return

move the strip and fmt logic to their own function


Omar Polo

fix seccomp for the new event loop

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


Omar Polo

rewrite main loop using libevent



Omar Polo

don't fprintf


Omar Polo

improve logs management



Omar Polo

add the ``entrypoint'' option


Omar Polo

swap check in vhost_* fns

it's faster (statistically speaking) to first compute if the option is set and then fnmatch than the inverse. This way we can avoid unnecessary fnmatch.



Omar Polo

fix auto index precedence


Omar Polo

reload configuration on SIGHUP


Omar Polo

use upper bound given by poll

it's a waste to loop through all fds. We know the *exact* number of clients that needs attention, so use that information to limit the looping.