Commits
- Commit:
e8b2d8e3f029da1e903ffc81d7a1d7b1317e16f4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gg: prepend "Server says" to the reply code
- Commit:
7980a5d2a8e3c3db8ce3cd9b7a2151936faeb325
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gg: print the response header for non-2x replies to standard error
- Commit:
c7bcd4a8a9b22a4b28136e24069279cb93b1e43d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
6e4ba8184dc05091184fa1007845e860dc7f1062
- From:
- Omar Polo <op@omarpolo.com>
- Date:
copyright#
- Commit:
88c03474f897a26fccad0549860d932004185353
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
67ae3d8e03348c995b0afc3aebb7a5772bbd5b06
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use __dead instead of __attribute__((noreturn))
- Commit:
800aa93c05250a0482e1767897cb80e3b52f0d07
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
10cc819309de08fbab770ce9605dec1b35a4fad9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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...
- Commit:
0046c1fe9ca72ed024c8562d51e2b320f7968915
- From:
- Omar Polo <op@omarpolo.com>
- Date:
call setlocale()
- Commit:
6130e0eeac9db4fa8e6fe5934ec2d0ab202f979e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
always cast is*() arguments to unsigned char
- Commit:
21cf735f37d3b5792112e02b58735d69ce18998b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove -v from gg
undocumented flag to dump to stdout the request before doing it. Not
useful, it's debugging leftover.
- Commit:
c5b4db930eb7d4546b7591bc719ce22abf83beb6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
specify custom version strings for the various cmds
- Commit:
e89f4739041b12a3984107704ad97bcf5f0aec26
- From:
- Omar Polo <op@omarpolo.com>
- Date:
s/whole/all
- Commit:
b3602923d04e7f1e2c909a776ec207b0e4fd8de8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
shuffle the code a bit to improve readability
- Commit:
febfcde82b97fed90c08ff36a89c7616b59cef23
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix and sync gg usage