Commit Briefs

Omar Polo

fold long lines



Omar Polo

add tags target



Omar Polo

drop landlock/seccomp and capsicum support

it reached a point where this stuff is not maintenable. I'd like to move forward with gmid, but the restriction of capsicum and the linux environment at large that make landlock unusable (how can you resolve DNS portably when under landlock?) -and don't get me started on seccomp- makes it impossible for me to do any work. So, I prefer removing the crap, resuming working on gmid by cleaning stuff and consolidating the features, improving various things etc... and then eventually see how to introduce some sandboxing again on other systems. Patches to resume sandboxing are, as always, welcome!



Omar Polo

add a disclaimer


Omar Polo

update the site for 1.8.6



Omar Polo

more is*() unsigned char cast

continuation of 6130e0eeac9db4fa8e6fe5934ec2d0ab202f979e


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