From 7fe3010471a3263b2469ae35589357089050ce62 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 8 Nov 2023 10:15:25 +0000 Subject: [PATCH] After a stream has implicit length don't add more stream related frames Once we have decided that a stream has an implicit length then we should treat the packet as full and not try to add any more stream related frames to the packet. Fixes #22658 Reviewed-by: Hugo Landau Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/22662) --- ssl/quic/quic_txp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ssl/quic/quic_txp.c b/ssl/quic/quic_txp.c index e13501f1e9..5500c9b3f6 100644 --- a/ssl/quic/quic_txp.c +++ b/ssl/quic/quic_txp.c @@ -2283,6 +2283,7 @@ static int txp_generate_stream_frames(OSSL_QUIC_TX_PACKETISER *txp, shdr->len = payload_len_explicit; } else { + *packet_full = 1; shdr->has_explicit_len = 0; shdr->len = payload_len_implicit; } -- 2.34.1