]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h1: Properly report when mux is blocked during a nego
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 28 Feb 2024 13:46:56 +0000 (14:46 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 28 Feb 2024 14:31:07 +0000 (15:31 +0100)
commit81f75d32b223e9deb56db910857509d162070293
tree40d4dd7f0f24085e89b60f1573333ad8202ad967
parent489e583ac5ec69b9c4d408dc88abcc6a2fbf0086
BUG/MINOR: mux-h1: Properly report when mux is blocked during a nego

During a zero-copy forwarding negociation, if the H1 mux is blocked for any
reason, the IOBUF_FL_FF_BLOCKED flag must be set on its iobuf to notfiy the
producer it must wait. However, there were two places where it was not
performed: when the output buffer allocation failed and when the chunk
formatting failed.

This patch fixes the issue. It must be backported to 2.9.
src/mux_h1.c