summaryrefslogtreecommitdiff
path: root/crates/arti/src/proxy.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use *_with_prefs() for Option<ConnectPrefs> callers in TorClient::connectNeel Chauhan2022-01-081-3/+5
|
* proxy: introduce new functions to write_all & flush/closeMuhammad Falak R Wani2021-12-151-42/+42
| | | | Signed-off-by: Muhammad Falak R Wani <[email protected]>
* proxy: send SOCKS5 reply on failure casesMuhammad Falak R Wani2021-12-111-1/+14
| | | | Signed-off-by: Muhammad Falak R Wani <[email protected]>
* proxy: report an error if all listeners fail.Nick Mathewson2021-12-081-1/+1
|
* Resolve XXXXs in proxy.rsNick Mathewson2021-12-081-3/+3
| | | | These issues all have tickets, so can become TODOs.
* More typo fixes that I forgot to save :(Nick Mathewson2021-11-241-1/+1
|
* Typo fix in an expect() message.Nick Mathewson2021-10-281-1/+1
|
* Tests and refactoring for IsolationMap.Nick Mathewson2021-10-261-13/+50
|
* TorClient::resolve_ptr should take an IpAddr.Nick Mathewson2021-10-261-1/+13
|
* Rename tor_client/arti_tor_client to arti_client.Nick Mathewson2021-10-211-2/+2
| | | | | | Solves a name conflict with the existing tor_client create. Closes #130.
* Change how we connect to target addresses.Nick Mathewson2021-10-181-1/+1
| | | | | | | Now we all both address:port, (address, port), and more. We also allow SocketAddr and IpAddr, but only via a trait labeled as "Dangerous".
* Do not use downcast_ref, use tor-client error.Jani Monoses2021-10-181-8/+6
|
* Add a cast to correct a type error about WSAEMFILENick Mathewson2021-10-151-1/+7
|
* proxy: Mark ENFILES and EMFILES as survivable.Nick Mathewson2021-10-141-2/+27
| | | | | | | | I don't love this approach, but those errors aren't distinguished by ErrorKind, so we have to use libc or winapi, apparently. At least nothing here is unsafe. Addresses part of #188.
* Fix typosJani Monoses2021-09-071-1/+1
|
* Light refactoring and documentation improvements in proxy.rsNick Mathewson2021-08-271-40/+103
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+346
This will cause some pain for now, but now is really the best time to do this kind of thing.