summaryrefslogtreecommitdiff
path: root/crates/arti/src/proxy
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: Remove (most) X- prefixes.Nick Mathewson2025-10-281-21/+38
| | | | | | We can't remove them all, since X-Tor-Stream-Isolation is recognized by C-Tor. I've added a non-deprecated Tor-Stream-Isolation that works indepenently.
* http_connect: write our own hyper-futures replacementNick Mathewson2025-10-281-4/+77
|
* http_connect: Forbid non-empty OPTIONS bodies.Nick Mathewson2025-10-281-0/+8
|
* http_connect: validate casei behavior of HeaderMap.Nick Mathewson2025-10-281-0/+36
|
* http_connect: Declare that error messages are text/plain.Nick Mathewson2025-10-281-1/+1
|
* http_connect: Reject OPTIONS requests with bodiesNick Mathewson2025-10-281-2/+11
|
* http_connect: Implement stream isolationNick Mathewson2025-10-281-4/+74
|
* http_connect: implement rpc supportNick Mathewson2025-10-281-6/+76
|
* http-connect: Implement X-Tor-Family-PreferenceNick Mathewson2025-10-281-5/+79
|
* http_connect: Use consts for headers.Nick Mathewson2025-10-281-4/+16
|
* http_connect: Generate an X-Tor-Request-Failed header.Nick Mathewson2025-10-281-2/+20
|
* http_connect: Provide better status codes for ErrorKinds.Nick Mathewson2025-10-282-4/+77
|
* arti: Implement a "bilingual" HTTP CONNECT proxy.Nick Mathewson2025-10-281-0/+325
| | | | | | | | | | | With his commit, our SOCKS ports now accept both SOCKS and HTTP CONNECT requests, per proposal 365. There are still some infelicities, marked with "XXXX" or "TODO". I've tested this with curl, though, and it works. :) Typo-fixes-by: Gabriela Moldovan <[email protected]>
* arti: Detect proxy protocol _before_ starting SOCKS.Nick Mathewson2025-10-282-23/+14
| | | | | 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.