projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1c8a38
)
DEBUG: ssl: export ssl_sock_close() to see its symbol resolved in profiling
author
Willy Tarreau
<w@1wt.eu>
Thu, 13 May 2021 08:11:03 +0000
(10:11 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Thu, 13 May 2021 08:11:03 +0000
(10:11 +0200)
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
patch
|
blob
|
history
diff --git
a/src/ssl_sock.c
b/src/ssl_sock.c
index
1a2d7be
..
58f0413
100644
(file)
--- 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;