Commits
- Commit:
dd3f04b22709a1c169a8d1689e8244214e0a7c32
- From:
- Omar Polo <op@omarpolo.com>
- Date:
titan: accept either one or two positional arguments
- Commit:
fd48b7c0c4093c710b2d692b7abca89b0dbf0a33
- From:
- Omar Polo <op@omarpolo.com>
- Date:
titan: usage and exit on unknown flags
- Commit:
5d38e5d88d423a7a84f714841cc161829f236b13
- From:
- Omar Polo <op@omarpolo.com>
- Date:
titan: clean up IRI/URI/URL mess; it's a IRI what we parse
- Commit:
11ff7f934e2bb3920b900327c5fb38d30691c2ca
- From:
- Omar Polo <op@omarpolo.com>
- Date:
titan: error if the URI is not titan://
- Commit:
d671434bc76ec81a34e64ae0c164a831cbee4b0d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
titan: better logging for unexpected EOFs
upon an unexpected EOF, tls_error() returns NULL, so log the real
reason iomux returned -1.
- Commit:
59051566657ab3888ef841cf46cf0588bf57e746
- From:
- Omar Polo <op@omarpolo.com>
- Date:
titan: rename parse_err to errstr
- Commit:
1b1a6fb7ee90529dbf0697954ed01f76a65f7d65
- From:
- Omar Polo <op@omarpolo.com>
- Date:
titan: iomux: return -1 on EOF without receving anything
otherwise it enters an infinite loop where it tries to read, return
zero, and tries again...
- Commit:
fcc5a371b135db8bbbb250bf1793ffffd06dc644
- From:
- Omar Polo <op@omarpolo.com>
- Date:
titan: fix appending of path parameters
the parameters need to be added at the end of the path, not at the
end of the URL.
- Commit:
39273368555fdc9eefcc349ae31a0f21efcac6f2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
32b1638ebc95d2808f7531d51850a385ee74db2b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
run tls_connect_socket() after dropping the "inet dns" pledge promises
- Commit:
9888507cd4212b360fc15e4262e5fd95844efc7c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
read from stdin if no file is given
- Commit:
da3fc66ee834634f99d5b94cc4090c64114a215f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
titan: add compat shims to compile on !OpenBSD
- Commit:
2ff1e2a9237514d5d473b2b3562ec767542b55bc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add titan(1) -- a draft titan client