summaryrefslogtreecommitdiff
path: root/crates/arti-client/src/client.rs
Commit message (Collapse)AuthorAgeFilesLines
* Encourage the use of TorClient::clone().Nick Mathewson2021-10-281-1/+2
|
* TorClient::resolve_ptr should take an IpAddr.Nick Mathewson2021-10-261-3/+1
|
* Turn StreamIsolation into a separate type.Nick Mathewson2021-10-251-4/+12
| | | | | | | | | Now that we have two kinds of isolation tokens (those set on a stream, and those set by the stream's associated TorClient), we need a more sophisticated kind of isolation. This fixes the bug introduced with the previous commit, where per-stream tokens would override per-TorClient tokens.
* Add an isolate_client() function to create an isolated TorClient.Nick Mathewson2021-10-251-15/+34
| | | | | When two TorClients are isolated, their streams shouldn't share circuits, even though they share internal circuit and guard state.
* Rename tor_client/arti_tor_client to arti_client.Nick Mathewson2021-10-211-0/+464
Solves a name conflict with the existing tor_client create. Closes #130.