From 832e242b1f9da38d77d580091f741394dad933c8 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 13 May 2021 10:11:03 +0200 Subject: [PATCH] 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. --- src/ssl_sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl_sock.c b/src/ssl_sock.c index 1a2d7be..58f0413 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c @@ -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; -- 1.7.10.4