Commit Briefs
convert remaining code to the imsg getters
Now gmid doesn't touch anymore the internals of the imsg structs.
fix configtest with chroot
The configtest checks try to open the root directories too, operation that can fail when they're expected to be inside a chroot.
log ip address and port when tls_handshake fails
These connection are not otherwise logged and it could be helpful to track down the bad ip.
don't call client_close() from fcgi/proxy bev handlers
We might end up calling client_close() from start_reply(), but that will free the fcgi/proxy bufferevent while they're still used on the stack. Instead, start_reply() only sets REQUEST_DONE and exits, returning the error eventually, so callers know when to stop.
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Â>'.
change log_request to take the code and meta unpacked
don't know what i was smoking when I wrote log_request() like that...
change on fatalx -> log_warnx
we already check the validity of the format string, but still avoid a gratious fatal() at runtime.