aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-proto/src/client/reactor/circuit
diff options
context:
space:
mode:
Diffstat (limited to 'crates/tor-proto/src/client/reactor/circuit')
-rw-r--r--crates/tor-proto/src/client/reactor/circuit/circhop.rs11
1 files changed, 9 insertions, 2 deletions
diff --git a/crates/tor-proto/src/client/reactor/circuit/circhop.rs b/crates/tor-proto/src/client/reactor/circuit/circhop.rs
index c2e27fe1d..0fd30eda9 100644
--- a/crates/tor-proto/src/client/reactor/circuit/circhop.rs
+++ b/crates/tor-proto/src/client/reactor/circuit/circhop.rs
@@ -9,6 +9,7 @@ use crate::congestion::CongestionControl;
use crate::crypto::cell::HopNum;
use crate::memquota::StreamAccount;
use crate::stream::cmdcheck::AnyCmdChecker;
+use crate::stream::flow_ctrl::state::WithSidechannelMitigations;
use crate::streammap::{self, StreamEntMut, StreamMap};
use crate::tunnel::TunnelScopedCircId;
use crate::util::tunnel_activity::TunnelActivity;
@@ -354,10 +355,16 @@ impl CircHop {
time_prov: &DynTimeProvider,
stream_id: StreamId,
cmd_checker: AnyCmdChecker,
+ with_sidechannel_mitigations: WithSidechannelMitigations,
memquota: &StreamAccount,
) -> Result<ReactorStreamComponents> {
- self.outbound
- .add_ent_with_id(time_prov, stream_id, cmd_checker, memquota)
+ self.outbound.add_ent_with_id(
+ time_prov,
+ stream_id,
+ cmd_checker,
+ with_sidechannel_mitigations,
+ memquota,
+ )
}
/// Note that we received an END message (or other message indicating the end of