summaryrefslogtreecommitdiff
path: root/crates/tor-hsclient/src/err.rs
Commit message (Collapse)AuthorAgeFilesLines
* Apply ProtocolViolation renaming to hs connector codeIan Jackson2023-04-121-2/+2
| | | | | | | | | | | !1121 renamed *ProtocolFailed to *ProtocolViolation. !1118 introduced a new reference to a *ProtocolFailed I rebased !1118 onto main and enabled automerge. That tested the tip of !1118. I assume a similar thing happened to !1121. The possibility of such regressions is a property of our workflow. It's rather surprising it doesn't happen more often.
* hs connect: Improve a todo and refer to #813Ian Jackson2023-04-111-2/+1
|
* hs dirs: Initial cut at descriptor downloadingIan Jackson2023-04-111-1/+113
| | | | | | | | There are many TODOs here. Some are questions; some are straightforward and can be done in followups. With this code, I am able to reach the eprintln! and todo! with curl --socks5-hostname localhost:9150 https://duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion/
* tor-hsconn: Rename ConnError (from HsClientConnError)Ian Jackson2023-03-301-3/+3
| | | | | The old name was unwieldy and other crates can just as well name it by the crate scope.
* tor-hsclient: impl HasKind for errorsIan Jackson2023-03-231-1/+20
|
* tor-hsclient: Swap errors so Bug comes lastIan Jackson2023-03-231-4/+4
| | | | This seems more consistent with the way it's done elsewhere.
* hsclient: Add vacuous comments as demanded by clippyIan Jackson2023-03-011-0/+1
|
* hsclient: Provide a constructor for HsClientConnectorIan Jackson2023-03-011-0/+9
|
* hsclient: Implement connection attempt tracking state machineIan Jackson2023-03-011-0/+26
This compiles, but it cannot work yet. Nor can it conveniently be tested.