MINOR: httpclient: stop_and_destroy() ask the applet to autokill
authorWilliam Lallemand <wlallemand@haproxy.org>
Tue, 28 Sep 2021 09:00:43 +0000 (11:00 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 6 Oct 2021 13:15:03 +0000 (15:15 +0200)
commitecb83e13eb31cbcf76c6f8aa46eccf8aca4e7b71
tree66ce2fe1b3d4b592416a9dd57dca1ebe1355baac
parent739f90a6ef4168a6ec76fb7e68948820815c8e6c
MINOR: httpclient: stop_and_destroy() ask the applet to autokill

httpclient_stop_and_destroy() tries to destroy the httpclient structure
if the client was stopped.

In the case the client wasn't stopped, it ask the client to stop itself
and to destroy the httpclient structure itself during the release of the
applet.
include/haproxy/http_client-t.h
include/haproxy/http_client.h
src/http_client.c