]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: mux_quic: account data in conn fctl on early detach
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 29 Sep 2026 14:39:17 +0000 (16:39 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 7 Oct 2026 08:33:56 +0000 (10:33 +0200)
commit9d2af5174bc8b01e3c4b7b7604d75873ff4bc0e3
treea58e07b0a7fcf6d5786611a7daeffe949c763443
parenta6fe02e22177484766895aa8c77421b646ed8d46
BUG/MINOR: mux_quic: account data in conn fctl on early detach

The previous patch accounts unconsumed data when QCS is freed before
being remotely closed. The objective is to ensure to limit the
inconsistency in conn flow control between client and server.

In fact, this patch is incomplete as peer consumed level cannot be known
before receiving its final size. Thus, discrepancies in connection flow
control may still appear over time. The proper method is to delay QCS
release until remote close is performed. However, this is a significant
change which will be implemented in a future patch.

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