mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 00:10:41 -05:00
MINOR: connection: add a new destroy_bind_conf() entry to xprt_ops
This one will be set by the transport layers which want to destroy a bind_conf. It will typically be used by SSL to release certificates, CAs and so on.
This commit is contained in:
parent
55d3791b46
commit
fa983d3caa
1 changed files with 1 additions and 0 deletions
|
|
@ -214,6 +214,7 @@ struct xprt_ops {
|
|||
void (*close)(struct connection *); /* close the transport layer */
|
||||
int (*init)(struct connection *conn); /* initialize the transport layer */
|
||||
int (*prepare_bind_conf)(struct bind_conf *conf); /* prepare a whole bind_conf */
|
||||
void (*destroy_bind_conf)(struct bind_conf *conf); /* destroy a whole bind_conf */
|
||||
char name[8]; /* transport layer name, zero-terminated */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue