Commit Briefs
don't list the exact pledge promises
It's easy to forgot to update the README after a code change (already happened in the past) and they're easy to discover by reading sandbox.c
fix "double slash" in logs
gmid ended up printing two slashes between the hostname and the path when logging the request IRI.
Implement OCSP stapling support
Currently dogfooding this patch at gemini.sgregoratto.me. To test, run the following command and look for the "OCSP response" header: openssl s_client -connect "gemini.sgregoratto.me:1965" -status
move bufferevent initialization early in handle_handshake
the error path needs an initialized bufferevent too, otherwise it'll crash when trying to write the response. This moves the initialisation early, right after the tls_handshake. Another option would be to initialise it in do_accept, but that may be too early.