Commits


allow to change the logging style; introduce some new ones add `log style <style>'; The old default is called `legacy' now, a new default format is added called `condensed', and `common' and `combined' to mimick Apache httpd and nginx (respectively) are also added.


add ability to log to files with log access <path>


remove unused IMSG types


add `fastcgi off' to forceful skip fastcgi for a route


revamp fastcgi configuration: make it per-location this revamps the syntax in the configuration to better match httpd(8) (and in general be less weird) and to allow per-location fastcgi configurations. the bare `param' is now deprecated, but for compatibility it acts like `fastcgi param' would do now. Same story for `fastcgi <pathÂ>'.


move struct envlist and alist up


split out iri.h from gmid.h


rename do_accept() -> server_accept()


change log_request to take the code and meta unpacked don't know what i was smoking when I wrote log_request() like that...


parse (and log) the header from fastcgi


simplify request handling get rid of check_path(), it's overly complicated. Instead, inline open_file() in client_read() and rework open_dir() to just use openat() instead of the complicate dance it was doing. Simplify open_dir() too in the process: if the directory entry for the index is not a regular file, pretend it doesn't exist.


call getnameinfo() only once per request


copyright years++


load the certs per listening address


send host addresses to the server process