]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: httpclient: CF_SHUTW_NOW should be tested with channel_is_empty()
authorWilliam Lallemand <wlallemand@haproxy.org>
Thu, 17 Mar 2022 14:14:15 +0000 (15:14 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 18 Mar 2022 10:34:10 +0000 (11:34 +0100)
commit58a81aeb91bc0c3b07f340852c09af3b5692899a
treed4fb15964683adf3f9e72abbef7a30c8c2973417
parent1eca8943218eb79bffb3b7dce194b154314795ba
BUG/MINOR: httpclient: CF_SHUTW_NOW should be tested with channel_is_empty()

CF_SHUTW_NOW shouldn't be a condition alone to exit the io handler, it
must be tested with the emptiness of the response channel.

Must be backported to 2.5.
src/http_client.c