BUG/MEDIUM: mux-h2: Remove H2S from send list if data are sent via 0-copy FF
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 22 Oct 2024 05:56:39 +0000 (07:56 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 23 Oct 2024 15:24:03 +0000 (17:24 +0200)
commita910a25232440aed4a241d90fd61a6f7267d7930
treea97f009b2c54f3a08b48eba5373e3db607f33f48
parentdda720da6648109a5c77b0a22e71e2eadbff3a1e
BUG/MEDIUM: mux-h2: Remove H2S from send list if data are sent via 0-copy FF

When data are sent via the zero-copy data forwarding, in h2_done_ff, we must
be sure to remove the H2 stream from the send list if something is send. It
was only performed if no blocking condition was encountered. But we must
also do it if something is sent. Otherwise the transfer may be blocked till
timeout.

This patch must be backported as far as 2.9.

(cherry picked from commit ded28f6e5c210b49ede7edb25cd4b39163759366)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/mux_h2.c