BUG/MINOR: http-client: Ignore 1XX interim responses in non-HTX mode
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 8 Jul 2025 06:38:31 +0000 (08:38 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 26 Aug 2025 06:34:50 +0000 (08:34 +0200)
commit39b319f6c9d615c546631ea918daff11684c7b1b
treea84bdf6c3fc27d0ee032355504dbfae47c750b12
parente1aa83ce71f826ed446b763a16e19114f4e15e83
BUG/MINOR: http-client: Ignore 1XX interim responses in non-HTX mode

When the response is re-formatted in raw message, the 1XX interim responses
must be skipped. Otherwise, information of the first interim response will
be saved (status line and headers) and those from the final response will be
dropped.

Note that for now, in HTX-mode, the interim messages are removed.

This patch must be backported as far as 2.6.

(cherry picked from commit 9d10be33aebb08058c37d7dcd15874e42be74a29)
Signed-off-by: Amaury Denoyelle <adenoyelle@haproxy.com>
(cherry picked from commit 8abebc8d061c29dcdf511efba2321cf2a6df00d6)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/http_client.c