Commit Briefs

Omar Polo

add a configure script and some compat

tested on openbsd, alpine and void


Omar Polo

drop seccomp.h: not needed


Omar Polo

drop mention to the static target

it works on OpenBSD but not on alpine, it requires further tweaks.


Omar Polo

sync



Omar Polo

use fnmatch on the domain name


Omar Polo

typo


Omar Polo

simplify flow when SNI is missing

this also gives a chance for users to use the default host even if SNI is missing.


Omar Polo

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


Omar Polo

improve logs

now we log the full IRI requested (before was only the path) and the response line (even for CGI).


Omar Polo

fmt


Omar Polo

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.


Omar Polo

fix BPF


Omar Polo

tighten the rules for fcntl

allow only the F_GETFL and F_SETFL commands


Omar Polo

explain the poll mess