BUG/MINOR: h1-htx: Keep flags about C-L/T-E during HEAD response parsing
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 2 Oct 2023 06:58:48 +0000 (08:58 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 4 Oct 2023 13:34:18 +0000 (15:34 +0200)
commitb6c32f1e04721903bab4dff5d93d86b17eca9ecc
treea8230dfad4eeefbcc5bce5010b87a7dacb7150dd
parentf89ba27caa9e0a6f3c1f68285d4ec63046e3b8c1
BUG/MINOR: h1-htx: Keep flags about C-L/T-E during HEAD response parsing

When a response to a HEAD request is parsed, flags to know if the content
length is set or if the payload is chunked must be preserved.. It is
important because of the previous fix. Otherwise, these headers will be
removed from the response sent to the client.

This patch must only backported if "BUG/MEDIUM: mux-h1; Ignore headers
modifications about payload representation" is backported.
src/h1_htx.c