]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: httpclient: remove the UNUSED block when parsing headers
authorWilliam Lallemand <wlallemand@haproxy.org>
Wed, 9 Mar 2022 17:56:02 +0000 (18:56 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 14 Mar 2022 14:10:12 +0000 (15:10 +0100)
commitc020b2505d4d5a94d1b465a4e6e73c1f5ef86170
tree61fe2ca4dae1f97e78bea91500fd8d8805971542
parentc8f1eb99b4004444c7674d48d967ea3040a62d6e
BUG/MINOR: httpclient: remove the UNUSED block when parsing headers

Remove the UNUSED blocks when iterating on headers, we should not stop
when encountering one. We should only stop iterating once we found the
EOH block. It doesn't provoke a problem, since we don't manipulates
the headers before treating them, but it could evolve in the future.

Must be backported to 2.5.
src/http_client.c