summaryrefslogtreecommitdiff
path: root/crates/arti-client/src/client.rs
Commit message (Collapse)AuthorAgeFilesLines
* add semicolons if nothing returnedDaniel Eades2021-11-251-2/+2
|
* Fix a few typos.Nick Mathewson2021-11-241-1/+1
| | | | Also fix some commonwealth spellings that had slipped in.
* Make arti-client config object match arti config better.Nick Mathewson2021-11-211-10/+5
| | | | | | | | Now every section that the two configuration objects share has the same type and name. This should help us in documenting our configuration in a way that doesn't confuse people. There is still lots of API work to go.
* Typo fix from reddit thread.Nick Mathewson2021-11-171-1/+1
|
* Fix typosDimitris Apostolou2021-11-121-1/+1
|
* Merge IpVersionPreferences and the optimistic flag into one type.Nick Mathewson2021-11-101-18/+32
| | | | | It seems like a good time to do this, before we add a zillion other arguments to begin_stream.
* Implement optimistic streamYuan Lyu2021-11-091-1/+13
|
* 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.