MINOR: httpclient: set HTTPCLIENT_F_ENDED only in release
authorWilliam Lallemand <wlallemand@haproxy.org>
Tue, 28 Sep 2021 08:10:07 +0000 (10:10 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 6 Oct 2021 13:15:03 +0000 (15:15 +0200)
commit739f90a6ef4168a6ec76fb7e68948820815c8e6c
tree781134861b178fb55bcb411afd07605fe11a5bb4
parent03f5a1c77dbdd11f35e661eeb80e62dc554ed692
MINOR: httpclient: set HTTPCLIENT_F_ENDED only in release

Only set the HTTPCLIENT_F_ENDED flag in httpclient_applet_release()
function so we are sure that the appctx is not used anymore once the
flag is set.
src/http_client.c