summaryrefslogtreecommitdiff
path: root/crates/tor-hsclient/src/connect.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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-client: Pass a netdir for each requestIan Jackson2023-03-301-1/+6
| | | | | This will be more convenient inside tor-hsclient. In arti-client, this mirrors the way TorClient::get_or_launch_exit_circ works.
* Pass HS identity to hsclient connection functionIan Jackson2023-03-281-1/+4
| | | | Obviously it will need this!
* hsclient state: Rename rechecks (from attempts) and add clarifying docsIan Jackson2023-03-011-0/+3
| | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1034#note_2882079
* hsclient: Use a generic to provide a mock for connect()Ian Jackson2023-03-011-1/+24
| | | | This will allow us to test state.rs.
* hsclient: Move dead code allows to specific locationsIan Jackson2023-03-011-0/+2
|
* hsclient: Implement connection attempt tracking state machineIan Jackson2023-03-011-0/+47
This compiles, but it cannot work yet. Nor can it conveniently be tested.