]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: httpclient: process the response when received before the end of the request
authorWilliam Lallemand <wlallemand@haproxy.org>
Thu, 17 Mar 2022 13:57:23 +0000 (14:57 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 18 Mar 2022 10:34:10 +0000 (11:34 +0100)
commit1eca8943218eb79bffb3b7dce194b154314795ba
treebbbbaa35b9010ce534d8af4fc19fed8a66313831
parenta625b03e834704c5683e6a3abd09f9163ac8adc6
BUG/MINOR: httpclient: process the response when received before the end of the request

A server could reply a response with a shut before the end of the htx
transfer, in this case the httpclient would leave before computing the
received response.

This patch fixes the issue by calling the "process_data" label instead of
the "more" label which don't do the si_shut.

Must be bacported in 2.5.
src/http_client.c