summaryrefslogtreecommitdiff
path: root/crates/tor-circmgr/src/hspool
Commit message (Collapse)AuthorAgeFilesLines
* Refactor ClientCirc APIs to use Arc<ClientCirc>.Nick Mathewson2023-05-161-6/+6
| | | | | | | | | | | | Now ClientCirc is no longer `Clone`, and the things that need it to be `Clone` instead return and use an Arc<ClientCirc> We're doing this so that ClientCirc can participate in the RPC system, and so that its semantics are more obvious. Closes #846. Thanks to the type system, this was a much simpler refactoring than I had feared it would be.
* circmgr: Add an actual pool to HsCircPool.Nick Mathewson2023-03-221-0/+52
We now have support for a pool of pre-build circuits that we can use for HS-related purposes, and we take circuits from this pool as needed. Nothing populates or cleans the circuit pool yet.