Commit Briefs

Omar Polo

disable test_unknown_host temporarly

breaks on some distro and needs further investigations; it's not that interesting fortunately.


Omar Polo

add memmem compat


Omar Polo

rework `make dist'


Omar Polo

remove -v from gg

undocumented flag to dump to stdout the request before doing it. Not useful, it's debugging leftover.


Omar Polo

fix previous



Omar Polo

work around missing LOGIN_NAME_MAX

Both Linux and OpenBSD have LOGIN_NAME_MAX available when including limits.h, FreeBSD, Darwin and possibly others don't. FreeBSD (and maybe Darwin) have MAXLOGNAME, so try to use that if available. Otherwise use _POSIX_LOGIN_NAME_MAX, but only has a fallback since it has a lower value (9 at the time of writing). If everything fails, use 32 which is what OpenBSD use by default; OpenSMTPd also defaults to it. (compat copied from kamid.)


Omar Polo

always send custom list of fcgi parameters

The code in fcgi_req to send the custom params set in the config file was placed inside the conditional for `tls_peer_cert_provided`, so the custom parameters would not be sent if a client certificate is not provided.



Omar Polo

sync config syntax with reality


Omar Polo

make the various strings in the config fixed-length

will help in future restructuring to have fixed-size objects.


Omar Polo

remove stale comment


Omar Polo

retire fcgi' prog field

spawning programs was a hidden feature used only for testing. It's gross and when got removed, I forgot to remove the field as well.



Omar Polo

fmt