summaryrefslogtreecommitdiff
path: root/crates/arti/src/proxy/socks.rs
Commit message (Collapse)AuthorAgeFilesLines
* arti: Remove now-needless cognitive_complexity exceptionsNick Mathewson2025-10-281-1/+0
| | | | | | | Apparently the http_connect refactoring made these no longer trigger. Closes #2226
* http_connect: Provide better status codes for ErrorKinds.Nick Mathewson2025-10-281-0/+2
|
* arti: Detect proxy protocol _before_ starting SOCKS.Nick Mathewson2025-10-281-23/+9
| | | | | This will let us speak HTTP CONNECT as well; there is a stub for initiating an http proxy.
* arti: Pass a buffered stream to handle_socks_connNick Mathewson2025-10-281-2/+11
| | | | This will let us implement bilingual HTTP proxies.
* arti: Renaming around socks/generic proxiesNick Mathewson2025-10-281-10/+10
| | | | This is _all_ renaming and comment adjustments.
* arti: Split socks-specific parts out of handle_socks_connNick Mathewson2025-10-281-0/+463
We want to abstract every part of this code that knows that it's speaking SOCKS, so that we can in turn add a new proxy type. Note that several methods and types here have names that are no longer appropriate for their functionality. I'll revise those in a later commit.