]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: mux_quic: account discarded data in connection flow control
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 23 Sep 2026 13:34:28 +0000 (15:34 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 7 Oct 2026 08:21:48 +0000 (10:21 +0200)
commita6fe02e22177484766895aa8c77421b646ed8d46
treea9637b323677448dabc9e34e99242d3e6a4577d7
parent1b2bd2aeef08209664585e4b3f230744835257d9
BUG/MEDIUM: mux_quic: account discarded data in connection flow control

Read data not yet consumed by the upper stream layer are discarded when
a RESET_STREAM is received. This patch implements their accounting in
the connection flow control.

This feature is mandatory as it could result in discrepancies between
each peers for the measured connection flow control. If this grows too
big, the sender may be indefinitely blocked, forcing the opening of a
new connection.

This patch introduces a new function qcc_account_conn_fctl(), which is
used to factorize the code already present during STREAM frames
handling. This is now also called for RESET_STREAM frames.

This must be backported up to 2.8, after a period of observation.
src/mux_quic.c