]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: ssl: explicitly log failed handshakes after a heartbeat
authorEmeric Brun <ebrun@haproxy.com>
Fri, 25 Apr 2014 17:05:36 +0000 (19:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 25 Apr 2014 17:25:33 +0000 (19:25 +0200)
commit29f037d872198a75880e0816f40b15f4144956dc
tree6fe1ee6258395f9d2c2e808a0b73c13451692b73
parentb3966377d88b28d731590e02e82dae0b867b711c
MEDIUM: ssl: explicitly log failed handshakes after a heartbeat

Add a callback to receive the heartbeat notification. There, we add
SSL_SOCK_RECV_HEARTBEAT flag on the ssl session if a heartbeat is seen.

If a handshake fails, we log a different message to mention the fact that
a heartbeat was seen. The test is only performed on the frontend side.
src/ssl_sock.c