]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h2: Restart reading when mbuf ring is no longer full
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 9 Sep 2025 13:40:01 +0000 (15:40 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 9 Sep 2025 14:07:20 +0000 (16:07 +0200)
commit12edcccc8230b271635a764b5bee9346d6828733
treea488ae80bbe2ba0f2061f8f97e457a81abaffa88
parentc6e4584d2b95c000a9e7247f0389c4496587a573
BUG/MEDIUM: mux-h2: Restart reading when mbuf ring is no longer full

When the mbuf ring buffer is full, the flag H2_CF_DEM_MROOM is set on the H2
connection to block any demux. It is important to properly handle ACK
frames. However, we must take care to restart reading when some data were
removed from the mbuf. Otherwise, we may block the demux for no reason. It
is especially an issue if the demux buffer is full. In that case, the H2
connection is blocked, waiting for the timeout.

This patch should be backported to 3.2. But is is probably a good idea to
not backport it on older versions, except if a bug is reported in this area.
src/mux_h2.c