]> git.ipfire.org Git - thirdparty/openssl.git/commit - ssl/quic/quic_txp.c
Keep track of connection credit as we add stream data
authorMatt Caswell <matt@openssl.org>
Mon, 13 Nov 2023 14:16:57 +0000 (14:16 +0000)
committerTomas Mraz <tomas@openssl.org>
Wed, 15 Nov 2023 08:08:16 +0000 (09:08 +0100)
commite57bf6b3bfa2f0b18e5cad7fd3c5fdd7c51516b9
tree3fec6376b029555c4a2b3affde7ac70b1d09709f
parentf5a63bf1c02cf0605ce3f5614cd016c3750766d3
Keep track of connection credit as we add stream data

If a single packet contains data from multiple streams we need to keep track
of the cummulative connection level credit consumed across all of the
streams. Once the connection level credit has been consumed we must stop
adding stream data.

Fixes #22706

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22718)
include/internal/quic_fc.h
ssl/quic/quic_fc.c
ssl/quic/quic_stream_map.c
ssl/quic/quic_txp.c
test/quic_fc_test.c