Commit Briefs


Omar Polo

improve mime handling

we still have an hardcoded list, but this implements the API needed to modify the mappings.


Omar Polo

removing err/warn functions with our fatal

err/warn is not available on some systems (unfortunately!) and in any case don't play well with our daemon mode (that closes std{in,out,err}). Use our fatal that is daemon-aware.


Omar Polo

fix requri construction

when we switched from one process to two, I introduced a small optimisation: empty string are not send, so we receive NULL. Constructing requri we need to make sure that relpath is not null.


Omar Polo

removing O_CLOEXEC

we don't fork anymore in that process, so the flag is extra.


Omar Polo

removed


Omar Polo

reorganize: move bunch of functions to server.c

cgi.c wasn't really needed; it better to group all the server related functions together, cgi or not. Now gmid.c contains only startup and utility code.


Omar Polo

mention libretls


Omar Polo

[seccomp] allow also poll

on the latest fedora we glibc uses poll. On the other linux distro I tried (void), musl is probably providing poll as a ppoll wrapper.



Omar Polo

re-enable daemon mode

with the split into two process, the call to daemon was lost


Omar Polo

fix runtime test on linux


Omar Polo

add runtime tests for the server


Omar Polo

grammar


Omar Polo

sync changes