diff options
author | Matt Caswell <matt@openssl.org> | 2023-11-08 10:15:25 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-11-09 12:33:18 +0000 |
commit | fc0dce399aed2c8d2aea8ea675aa3d50f51b6ef4 (patch) | |
tree | ba95b4d052cd0861bec070f3b9f11132dfe718a2 | |
parent | 4ee71b4c302a06c24b46a5def1cff2096bd57f0b (diff) |
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 <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22662)
(cherry picked from commit 7fe3010471a3263b2469ae35589357089050ce62)
-rw-r--r-- | ssl/quic/quic_txp.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |