From d589ea0d57979adf769ac079df3c66d79563e90f Mon Sep 17 00:00:00 2001 From: Kershaw Date: Mon, 6 May 2024 12:26:32 +0200 Subject: [PATCH] remove the assertion that can be triggered when a HANDSHAKE_DONE frame is lost (#1882) --- neqo-transport/src/connection/state.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/neqo-transport/src/connection/state.rs b/neqo-transport/src/connection/state.rs index 9f8f2d4f5c..e76f937938 100644 --- a/neqo-transport/src/connection/state.rs +++ b/neqo-transport/src/connection/state.rs @@ -212,10 +212,6 @@ pub enum StateSignaling { impl StateSignaling { pub fn handshake_done(&mut self) { if !matches!(self, Self::Idle) { - debug_assert!( - false, - "StateSignaling must be in Idle state but is in {self:?} state.", - ); return; } *self = Self::HandshakeDone;