mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-16 08:24:42 +00:00
BUG/MINOR: httpclient: remove deinit of the httpclient
The httpclient does a free of the servers and proxies it uses, however since we are including them in the global proxy list, haproxy already free them during the deinit. We can safely remove these free.
This commit is contained in:
parent
ece4c4a352
commit
76ad371b86
@ -759,16 +759,7 @@ err:
|
||||
return 1;
|
||||
}
|
||||
|
||||
static void httpclient_deinit()
|
||||
{
|
||||
free_server(httpclient_srv_raw);
|
||||
free_server(httpclient_srv_ssl);
|
||||
free_proxy(httpclient_proxy);
|
||||
|
||||
}
|
||||
|
||||
/* initialize the proxy and servers for the HTTP client */
|
||||
|
||||
INITCALL0(STG_REGISTER, httpclient_init);
|
||||
REGISTER_CONFIG_POSTPARSER("httpclient", httpclient_cfg_postparser);
|
||||
REGISTER_POST_DEINIT(httpclient_deinit);
|
||||
|
Loading…
Reference in New Issue
Block a user