DEBUG: ssl-sock/show_fd: Display SSL error code
Like for connection error code, when FD are dumps, the ssl error code is now
displayed. This may help to diagnose why a connection error occurred.
This patch may be backported to help debugging.
(cherry picked from commit f19c639787
)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 92c1452111312e6af0db56e65051cea621a4d407)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
This commit is contained in:
parent
716ac838c4
commit
57bb44b932
@ -7282,7 +7282,7 @@ static int ssl_sock_show_fd(struct buffer *buf, const struct connection *conn, c
|
||||
chunk_appendf(&trash, " xctx.conn=%p(BOGUS)", sctx->conn);
|
||||
ret = 1;
|
||||
}
|
||||
chunk_appendf(&trash, " xctx.st=%d", sctx->xprt_st);
|
||||
chunk_appendf(&trash, " xctx.st=%d .err=%ld", sctx->xprt_st, sctx->error_code);
|
||||
|
||||
if (sctx->xprt) {
|
||||
chunk_appendf(&trash, " .xprt=%s", sctx->xprt->name);
|
||||
|
Loading…
Reference in New Issue
Block a user