aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-proto/src/conflux/msghandler.rs
Commit message (Collapse)AuthorAgeFilesLines
* proto: Push conflux state checks inside handshake_timeout().Gabriela Moldovan2025-09-251-1/+3
| | | | | | This simplifies the calling code, which will, in turn, make it easier for us to simplify the logic in ConfluxSet::next_circ_action() and abolish the questionable use of FuturesUnordered.
* proto: Fix ConfluxStatus docs post-refactoring.Gabriela Moldovan2025-09-041-1/+1
|
* proto: Use ConfluxCmd instead of CircuitCmd.Gabriela Moldovan2025-09-041-11/+32
| | | | | | This enables us to make the conflux handler logic implementation-agnostic (we want to avoid using `CircuitCmd` here, because it is specific to client circuits).
* proto: Move abstract conflux handlers outside of the client module.Gabriela Moldovan2025-09-041-0/+335
This moves the shared types under `tor_proto::conflux`. Note: the shared types currently import `CircuitCmd` from `client`. A future commit will change the signature of `handle_msg` to return something other than `CircuitCmd` (this will also improve readability, because in reality, that function can never return most `CircuitCmd` variants).