]> git.ipfire.org Git - thirdparty/haproxy.git/commit
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>
Tue, 22 Oct 2024 06:00:32 +0000 (08:00 +0200)
commitded28f6e5c210b49ede7edb25cd4b39163759366
tree5b39d81d58a19564a2d97199def5520148f6e69b
parent529e4f36a353bca292196e1344a79b8cd4ba143c
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.
src/mux_h2.c