From 453fa89b88ef3d18fb15da390fd464e916bc5d1f Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Mon, 9 Mar 2026 17:19:29 +0100 Subject: [PATCH] may_send_data has been made smarter, don't need this --- noq-proto/src/connection/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noq-proto/src/connection/mod.rs b/noq-proto/src/connection/mod.rs index ce3cfcbd2..7163a6a50 100644 --- a/noq-proto/src/connection/mod.rs +++ b/noq-proto/src/connection/mod.rs @@ -5786,7 +5786,7 @@ impl Connection { // CRYPTO while !is_0rtt - && (space_id < SpaceId::Data || scheduling_info.may_send_data) + && scheduling_info.may_send_data && builder.frame_space_remaining() > frame::Crypto::SIZE_BOUND { let mut frame = match space.pending.crypto.pop_front() {