summaryrefslogtreecommitdiff
path: root/crates/tor-proto/src/tunnel.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-proto: made `StreamTarget::send_sendme` async and fixed a TODOSteven Engler2025-03-241-2/+6
|
* tor-proto: begin using `TargetHop` and `HopLocation`Steven Engler2025-03-111-3/+3
| | | | | | | | This doesn't yet change the public API, it just begins the work of plumbing these around throughout `ClientCirc`, `Reactor`, etc. This can't be broken up into smaller commits without causing build failures.
* tor-proto: remove non-conflux support from `HopLocation`Steven Engler2025-03-111-5/+0
|
* tor-proto: rename `HopLocation::Leg` to `HopLocation::Hop`Steven Engler2025-03-111-1/+1
|
* tor-proto: Move Circuit to its own module.Gabriela Moldovan2025-03-061-1/+1
| | | | | | | | | | | This is mostly code motion + some visibility adjustments. Moving all of these outside of `reactor` makes it easier to see which parts are internal vs which are accessed by the reactor. It also helps us enforce/audit invariants such as 'there should be no contention on the `CircHop::map` mutex' (the stream map is now private to `reactor::circuit`, and therefore nothing inside `reactor` will be directly accessing it).
* tor-proto: add variants to `HopLocation` behind `conflux` featureSteven Engler2025-02-241-7/+9
|
* tor-proto: add `HopLocation` and `TargetHop`Steven Engler2025-02-241-0/+29
|
* tor-proto: Add a tunnel module.David Goulet2025-02-201-0/+144
Move StreamTarget to the tunnel module and the circuit module. From now on streams will be implemented on tunnels, not circuits. This moves `StreamTarget` to the tunnel module. A future change will replace `ClientCirc` with `ClientTunnel` inside `StreamTarget`. This is mostly code motion, best reviewed with `--color-moved`. Signed-off-by: David Goulet <[email protected]>