summaryrefslogtreecommitdiff
path: root/crates/tor-proto/src/relay.rs
Commit message (Collapse)AuthorAgeFilesLines
* proto: Remove doc ref to private itemGabriela Moldovan2025-10-291-1/+1
|
* proto: Add RelayCirc API for checking if circuit is closedGabriela Moldovan2025-10-291-0/+7
|
* proto: Remove redundant channel from RelayCircGabriela Moldovan2025-10-291-3/+0
| | | | | We don't really need this channel here, because we already have control and command channels for checking if the reactor task is still alive.
* proto: Make RelayCirc publicGabriela Moldovan2025-10-291-1/+1
|
* proto: Rename RelayReatorHandle to RelayCircGabriela Moldovan2025-10-291-2/+2
| | | | | | | | | While this is technically a "reactor handle", I think RelayCirc sounds better, because this is essentially our only public API for interacting with a relay circuit (it will be used outside of tor-proto). (This would also be consistent with our existing ClientCirc client-side terminology).
* proto: Move RelayReactorHandle to relay moduleGabriela Moldovan2025-10-291-0/+15
| | | | This will soon become `pub`, so I am factoring it out of `reactor.rs`.
* proto: Add RelayInitiatorHandshakeDavid Goulet2025-10-231-0/+1
| | | | | | | This implements the relay initiator side of the handshake up to the creation of an unverified channel. Signed-off-by: David Goulet <[email protected]>
* proto: Rename the `tunnel` module to `client`.Gabriela Moldovan2025-08-181-1/+1
| | | | | | The implementation from `tunnel` is client-specific, so we are renaming the module accordingly. The more generic parts will be pulled into a separate module in a future commit.
* proto: Reorganize relay_tunnel module.Gabriela Moldovan2025-08-181-0/+14
This reorganizes the `relay_tunnel` module as per @dgoulet's [suggestion]. [suggestion]: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3162/diffs#note_3240092