MINOR: mux-h1/mux-fcgi: Don't set TUNNEL mode if payload length is unknown
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 8 Dec 2020 09:38:22 +0000 (10:38 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 28 Jan 2021 15:37:14 +0000 (16:37 +0100)
commit1e857785e9af0e2698127ae0e36e84f9a47e1ee2
treef93dd4fa71a592ebcef6fd876c9b13c6fbc1547f
parent8989942cfc642a728233e575f9c6b1bf0890b411
MINOR: mux-h1/mux-fcgi: Don't set TUNNEL mode if payload length is unknown

Responses with no C-L and T-E headers are no longer switched in TUNNEL mode
and remains in DATA mode instead. The H1 and FCGI muxes are updated
accordingly. This change reflects the real message state. It is not a true
tunnel. Data received are still part of the message.

It is not a bug. However, this message may be backported after some
observation period (at least as far as 2.2).
src/h1_htx.c
src/mux_fcgi.c
src/mux_h1.c