Commits


send all the params as per RFC3875 (CGI) and sync documentation


fix INSTALL handling Set a sane default for INSTALL, allow it to be changed either as environment variable or configure argument, and propagate it correctly to the generated config.mk. Issue reported by xavi, thanks!


fix comment (ge -> gemexp)


getcwd(NULL) is an extension; don't rely on it also, while here, add some error checking too


remove not so useful starts_with() replace its only usage with strncmp(). it's likely faster too.


remove a long, long unused function


remove useless logging


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.


update changelog


fix PATH_INFO / SCRIPT_NAME splitting


implement fastcgi strip number


lower debug log priority


draft the PATH_INFO and SCRIPT_NAME handling The idea is to require SCRIPT_NAME to be defined and strip it from the beginning of the path to get PATH_INFO. Soon(tm) a `fastcgi request strip' option will be added too. Maybe even `fastcgi script name "path"` that sets SCRIPT_NAME automatically.


remove prototype for function killed long ago


move strip_path to utils.c