]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: Add traces around SSL_do_handshake call
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Fri, 18 Apr 2025 15:26:53 +0000 (17:26 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 30 Apr 2025 09:11:26 +0000 (11:11 +0200)
commit4a8fa28e3646f81f5982125b29e1f4c25083cb03
tree71660caaceee38606642a3af0febe2cd3be590e1
parent9f146bdab3ffd37d8e06adb64e6f3bda3c613284
MINOR: ssl: Add traces around SSL_do_handshake call

Those traces dump information about the multiple SSL_do_handshake calls
(renegotiation and regular call). Some errors coud also be dumped in
case of rejected early data.
Depending on the chosen verbosity, some information about the current
handshake can be dumped as well (servername, tls version, chosen cipher
for instance).
In case of failed handshake, the error codes and messages will also be
dumped in the log to ease debugging.
include/haproxy/ssl_trace-t.h
src/ssl_sock.c
src/ssl_trace.c