Commits


remove the useless logging methods it makes more clear where the magic is. adapted from the smtpd' ca.c diff.


add compat for endian (now required by imsg)


update imsg


rename do_accept() -> server_accept()


enrich the description of the server process


typo


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


improve fcgi test: send more than one chunk of data


parse (and log) the header from fastcgi


multiple -v don't make it more verbose anymore


change on fatalx -> log_warnx we already check the validity of the format string, but still avoid a gratious fatal() at runtime.


rename fmt_sbuf -> fmtbuf; make the buffer explicit


add some ideas


avoid needless strlen()


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.