]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h2: Remove H2_SF_NOTIFIED flag for H2S blocked on fast-forward
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Nov 2023 17:02:16 +0000 (18:02 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Nov 2023 13:01:56 +0000 (14:01 +0100)
commitaf733ef6e4bf1790a113c545ea01fccb0e0c2203
treedf0378ddb2fc12e381b796e818dc0ea6de1757c3
parent2a307d273acaf382fb035605e76fd9a50b6e74db
BUG/MEDIUM: mux-h2: Remove H2_SF_NOTIFIED flag for H2S blocked on fast-forward

When a H2 stream is blocked during data fast-forwarding, we must take care
to remove H2_SF_NOTIFIED flag. This was only performed when data
fast-forward was attempted. However, if the H2 stream was blocked for any
reason, this flag was not removed. During our tests, we found it was
possible to infinitely block a connection because one of its streams was in
the send_list with the flag set. In this case, the stream was no longer
woken up to resume the sends, blocking all other streams.

No backport needed.
src/mux_h2.c