Commit Graph

5 Commits

Author SHA1 Message Date
Omar Polo
3927336855 titan: parse the response code and exit accordingly
Exit with 0 if the response code was in the 2x or 3x range, or with
2 for other codes.  It already exits with 1 upon any other error
(including parsing errors.)

Print the redirect code on 3x to stdout and the meta to stderr for
the 1x, 4x, 5x and 6x ranges.
2023-07-24 09:56:37 +00:00
Omar Polo
32b1638ebc run tls_connect_socket() after dropping the "inet dns" pledge promises 2023-07-24 09:28:01 +00:00
Omar Polo
9888507cd4 read from stdin if no file is given 2023-07-24 09:28:01 +00:00
Omar Polo
da3fc66ee8 titan: add compat shims to compile on !OpenBSD 2023-07-22 15:50:22 +00:00
Omar Polo
2ff1e2a923 add titan(1) -- a draft titan client 2023-07-22 15:47:02 +00:00