Commit Briefs

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


Omar Polo

reimplement gg

This is a better version of gg. Initially it grew with flags directly needed to the specific test cases I wanted to write, so it's ugly to use but handy for tests. This is a new and re-thought implementation that it is (hopefully) easier to use both and "curl-like for gemini" but also for scripts and tests cases. One completely new feature is the proxying support with -P to send the request to the given host.