summaryrefslogtreecommitdiff
path: root/crates/tor-hsclient/src/connect.rs
Commit message (Expand)AuthorAgeFilesLines
* tor-hsclient: Mockable: Do concrete calls with UFCSIan Jackson2023-05-231-2/+2
* tor-hsclient: Fix MockableClientCirc for ClientCirc changesIan Jackson2023-05-231-3/+3
* Refactor ClientCirc APIs to use Arc<ClientCirc>.Nick Mathewson2023-05-161-7/+9
* hsclient: descriptor_ensure no longer wraps the descriptor in TimerangeBound.Gabriela Moldovan2023-05-131-2/+5
* hsclient: Compute HsDesc validity time from the TimerangeBounds of its layers.Gabriela Moldovan2023-05-131-25/+13
* hsclient: Build cached descriptor TimerangeBounds from descriptor lifetime.Gabriela Moldovan2023-05-131-17/+33
* fix a couple clippy lintstrinity-1686a2023-05-081-1/+1
* tor-netdir: Shuffle the list of HS dirs used for downloading descriptors.Gabriela Moldovan2023-05-041-5/+25
* tor-netdir: Update tests to parse the descriptor, make test consensus lifetim...Gabriela Moldovan2023-05-031-9/+59
* hsclient: Use a real HsDesc instead of an unparsed string.Gabriela Moldovan2023-05-031-15/+31
* tor-hsclient: Add an allow to this incomplete codeIan Jackson2023-04-121-0/+1
* hs connect: Add TODOs re improving testsIan Jackson2023-04-111-0/+3
* hs connect: Add TODO re multiple parallel hsdir requestsIan Jackson2023-04-111-0/+2
* hs connect: Improve docs for descriptor_ensureIan Jackson2023-04-111-1/+7
* hs connect: Clarify clientness of ContextIan Jackson2023-04-111-1/+1
* hs connect tests: check that we asked exactly one relayIan Jackson2023-04-111-6/+6
* hs connect tests: derive Default for MocksGlobal, and use itIan Jackson2023-04-111-2/+2
* hs connect: Test descriptor downloadIan Jackson2023-04-111-0/+120
* hs connect: Do circuitry etc. via mocks traitIan Jackson2023-04-111-7/+59
* hs dirs: Initial cut at descriptor downloadingIan Jackson2023-04-111-7/+193
* hs desc: Record a Timebound<HsDesc> (but not really for now)Ian Jackson2023-04-111-6/+10
* hs connect: Introduce ContextIan Jackson2023-04-111-13/+91
* tor-hsconn: Rename ConnError (from HsClientConnError)Ian Jackson2023-03-301-3/+3
* tor-client: Pass a netdir for each requestIan Jackson2023-03-301-1/+6
* Pass HS identity to hsclient connection functionIan Jackson2023-03-281-1/+4
* hsclient state: Rename rechecks (from attempts) and add clarifying docsIan Jackson2023-03-011-0/+3
* hsclient: Use a generic to provide a mock for connect()Ian Jackson2023-03-011-1/+24
* 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