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:09 +0000 |
commit | 7fe3010471a3263b2469ae35589357089050ce62 (patch) | |
tree | 28761f6fc80a968383811ac97a48ec077fe00743 /ssl | |
parent | e389f56faeecad6b80f06695c0b753b355b0a5fc (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)
Diffstat (limited to 'ssl')
-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; } |