DEBUG: ssl: export ssl_sock_close() to see its symbol resolved in profiling

This function is one of the few high-profile, unresolved ones in the memory
profile output, let's have it resolve to ease matching of SSL allocations,
which are not easy to follow.
This commit is contained in:
Willy Tarreau 2021-05-13 10:11:03 +02:00
parent f1c8a3846c
commit 832e242b1f

View File

@ -6203,7 +6203,7 @@ static size_t ssl_sock_from_buf(struct connection *conn, void *xprt_ctx, const s
goto leave;
}
static void ssl_sock_close(struct connection *conn, void *xprt_ctx) {
void ssl_sock_close(struct connection *conn, void *xprt_ctx) {
struct ssl_sock_ctx *ctx = xprt_ctx;