Commit Briefs
add a configure script and some compat
tested on openbsd, alpine and void
drop mention to the static target
it works on OpenBSD but not on alpine, it requires further tweaks.
simplify flow when SNI is missing
this also gives a chance for users to use the default host even if SNI is missing.
don't crash on wrong vhost or missing SNI
the new logging code was crashing if the client didn't support SNI or if required an unknown vhost: this because we short-circuit in handle_handshake to an error, so c->iri isn't populated yet (we don't even read the request). fixes #1
improve logs
now we log the full IRI requested (before was only the path) and the response line (even for CGI).
allow clock_gettime and a bit of fmt
alpine on amd64 (under OpenBSD vmd) tries to do a clock_gettime. I don't know why, but it doesn't seem a problem to allow it.
tighten the rules for fcntl
allow only the F_GETFL and F_SETFL commands