Skip to content

Commit b4ba62d

Browse files
fix(s2n-quic-transport): wait until handshake is confirmed to start MTU probing (#2305)
* fix(s2n-quic-transport): wait until handshake is confirmed to start MTU probing * don't run mtls test on windows
1 parent 8f7c04b commit b4ba62d

File tree

2 files changed

+194
-146
lines changed

2 files changed

+194
-146
lines changed

quic/s2n-quic-transport/src/connection/connection_impl.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -867,11 +867,12 @@ impl<Config: endpoint::Config> connection::Trait for ConnectionImpl<Config> {
867867
let mut outcome = transmission::Outcome::default();
868868
let path_id = self.path_manager.active_path_id();
869869

870-
// Send an MTU probe if necessary and the handshake has completed
870+
// Send an MTU probe if necessary and the handshake has been confirmed
871871
// MTU probes are prioritized over other data so they are not blocked by the
872872
// congestion controller, as they are critical to achieving maximum throughput.
873873
if self.state == ConnectionState::Active
874874
&& self.path_manager.active_path().can_transmit(timestamp)
875+
&& self.space_manager.is_handshake_confirmed()
875876
&& self
876877
.path_manager
877878
.active_path()

0 commit comments

Comments
 (0)