BUG/MINOR: mux-h1/mux-fcgi: Sanitize TE header to only send "trailers"
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Sep 2021 08:56:36 +0000 (10:56 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Sep 2021 14:21:25 +0000 (16:21 +0200)
commitf56e8465f067c84b820dbedd89e6f44f1e02c179
treeb2f7548b814ac0f4af8d6df9b8a634d5e766dacb
parent631c7e866522f8a11c9218ffed7a95d0d6b96b5e
BUG/MINOR: mux-h1/mux-fcgi: Sanitize TE header to only send "trailers"

Only chunk-encoded response payloads are supported by HAProxy. All other
transfer encodings are not supported and will be an issue if the HTTP
compression is enabled. So be sure only "trailers" is send in TE request
headers.

The patch is related to the issue #1301. It must be backported to all stable
versions. Be carefull for 2.0 and lower because the HTTP legacy must also be
fixed.
src/mux_fcgi.c
src/mux_h1.c