Commit Briefs

Omar Polo

add an implicit fastcgi parameter: GEMINI_SEARCH_STRING

it’s the QUERY_STRING decoded if it’s a search-string (i.e. not a key-value pair.) It’s useful for scripts to avoid percent-decoding the querystring in the most common case of a query, because in Gemini querystrings key-value paired are not common. Idea from a discussion with Allen Sobot.


Omar Polo

correction: QUERY_STRING is *not* urldecoded.

RFC3875 § 4.1.7 states that "the QUERY_STRING variable contains a URL-encoded search or parameter string".


Omar Polo

return after FCGI_END_REQUEST

this fixes a possible crash if `client_write' closes the connection, because client_close can end up freeing the fastcgi bufferevent while we're looping. We don't support fastcgi multiplexing, so once we get an END_REQUEST there's nothing more to do. Prodded into looking here after a bug report from Allen Sobot, thanks!


Omar Polo

typo




Omar Polo

adjust pledge/unveil on OpenBSD

to connect to unix-domain sockets the `unix' pledge is needed and also unveil "w". gmid can't mutate files because it doesn't pledge `wpath' nor `cpath'.



Omar Polo

fix git url


Omar Polo

update the site for 1.8.5 release


Omar Polo

bump version ahead of 1.8 branch


Omar Polo

disable test_unknown_host temporarly

breaks on some distro and needs further investigations; it's not that interesting fortunately.


Omar Polo

add memmem compat


Omar Polo

rework `make dist'


Omar Polo

remove -v from gg

undocumented flag to dump to stdout the request before doing it. Not useful, it's debugging leftover.