Commit Briefs

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.


Omar Polo

revert commit 346f28eeaa205d268d1e63c7ffd86cf041f6d1e6

keep mark_nonblock in utils.c, as otherwise the build for the regress suite will fail (mark_nonblock needs fatal which is in gmid.c, and we can't link gmid.o with the regress suite...)


Omar Polo

move mark_nonblock to utils.c


Omar Polo

mark various functions as static

By marking all those function as static, the compiler is free to do more optimizations. In addition, those functions are not used outside server.c


Omar Polo

cgi now follows globbing rules