]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: compression: Don't forget to update htx_sl and http_msg flags
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 15 Apr 2022 13:32:03 +0000 (15:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 15 Apr 2022 14:22:33 +0000 (16:22 +0200)
commit39e436e222236c4e6c0efe95c304fe89fd01e111
treef8651e271baaeb7368013a82959946637c53de81
parent32af9a78303cc798eaf1dc506552862cc197e561
BUG/MEDIUM: compression: Don't forget to update htx_sl and http_msg flags

If the response is compressed, we must update the HTX start-line flags and
the HTTP message flags. It is especially important if there is another
filter enabled. Otherwise, there is no way to know the C-L header was
removed and T-E one was added. Except by looping on headers.

This patch is related to the issue #1660. It must backported as far as 2.0
(for HTX part only).
src/flt_http_comp.c