]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl_sock: implement ssl_sock_destroy_bind_conf()
authorWilly Tarreau <w@1wt.eu>
Thu, 22 Dec 2016 16:30:54 +0000 (17:30 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Dec 2016 22:26:38 +0000 (23:26 +0100)
commit795cdabb570f8829f306b13b773f204915b70d62
tree659d45e290f1b06a7fa1b1a91ca421ccef9a9aae
parentfa983d3caaac134db52778ce5ad597e485e1d4b0
MINOR: ssl_sock: implement ssl_sock_destroy_bind_conf()

Instead of hard-coding all SSL destruction in cfgparse.c and haproxy.c,
we now register this new function as the transport layer's destroy_bind_conf()
and call it only when defined. This removes some non-obvious SSL-specific
code and #ifdefs from cfgparse.c and haproxy.c
src/cfgparse.c
src/haproxy.c
src/ssl_sock.c