Commits


hide some debugging code behind a DPRINTF


wrap preformatted in a figure and provide a caption too (if any)


be portable: switch to a custom version of Kristaps' oconfigure


allow to speak "TLS-less Gemini" useful for e.g. to save some CPU cycles when the Gemini server is sitting on the same box as Galileo; disabled by default.


fix reconfiguration


change proxy_match to get a string


make the port number optional and keep it as string


simplify the configuration format don't require the awkward `server' block, just use a `proxy' block: proxy { source address port xyz hostname foo stylesheet "URL" }


support gemini code 1x


parse the query string too


better error page


always initialize the template move the initialization to the proxy creation, and while here move the definition for the functions used by the template to fcgi.c too.


add an HTML error page


import the template compiler i've been working on


close fcgi socket when not marked as keepalive if the server hasn't specified the FCGI_KEEP_CONN bit in the request, close the socket when we're done. This seems to be what httpd(8) (most of the time) wants.