Commit Briefs



Omar Polo

gg: exit with the gemini response code

0 is still used for 2X replies, and "external" failures (e.g. network, tls, ...) are still using exit code 1. Gemini non-2x replies now get their response code reported as-is as status code.


Omar Polo

copyright#


Omar Polo

revert previous

Somehow the compat for __dead is not working properly on macos (cirrus ci) since it complains that parse_debug() does not return a value in all control paths when it uses usage() (marked as __dead) to catch a wrong usage.



Omar Polo

gg: warn when the TLS layer is not closed properly

various servers are not handling correctly the close notify so for the moment don't turn this into an hard error but just warn. Hopefully, given some time, most servers will be fixed. while here, drop the gotos and just use a break to exit the main loop.


Omar Polo

avoid arithmetic on void pointers (GNU extension)

not really sold on this one, I don't see what other interpretation could be given, but it's not standard so...


Omar Polo

call setlocale()



Omar Polo

remove -v from gg

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



Omar Polo

s/whole/all



Omar Polo

fix and sync gg usage