Commit Briefs

Omar Polo

remove dead code


Omar Polo

convert remaining code to the imsg getters

Now gmid doesn't touch anymore the internals of the imsg structs.


Omar Polo

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.


Omar Polo

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.


Omar Polo

fix comment (ge -> gemexp)


Omar Polo

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.


Omar Polo

move strip_path to utils.c




Omar Polo

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Â>'.



Omar Polo

change log_request to take the code and meta unpacked

don't know what i was smoking when I wrote log_request() like that...


Omar Polo

change on fatalx -> log_warnx

we already check the validity of the format string, but still avoid a gratious fatal() at runtime.



Omar Polo

avoid needless strlen()