]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: do not count stream flow-control if already closed
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 9 Dec 2022 14:00:17 +0000 (15:00 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 22 Dec 2022 15:29:59 +0000 (16:29 +0100)
commitbb6296ce065bf67f82dce2c0f5d37164b68d7bfc
treebb4a82089e1a086e44157cc402be5ff66acb2f4b
parenta473f196f183830295ca6971fdc989af084bdda9
MINOR: mux-quic: do not count stream flow-control if already closed

It is unnecessary to increase stream credit once its size is known.
Indeed, a peer cannot sent a greater offset than the value advertized.
Else, connection will be closed on STREAM reception with
FINAL_SIZE_ERROR.

This commit is a small optimization and may prevent the emission of
unneeded MAX_STREAM_DATA frames on some occasions.

It should be backported up to 2.7.
src/mux_quic.c