BUG/MINOR: ssl: report the L4 connection as established when possible
authorWilly Tarreau <w@1wt.eu>
Fri, 28 Sep 2012 18:22:13 +0000 (20:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 2 Oct 2012 17:54:38 +0000 (19:54 +0200)
commit8923019a1d74c2d5f50eb0afe6c6a7531daac8c2
treec59399c5551a18e0518d1ce1a8bf0605d883228e
parent051cdab68bc2da44ab661e4668c51fda9c67d380
BUG/MINOR: ssl: report the L4 connection as established when possible

If we get an SSL error during the handshake, we at least try to see
if a syscall reported an error or not. In case of an error, it generally
means that the connection failed. If there is no error, then the connection
established successfully.

The difference is important for health checks which report the precise cause
to the logs and to the stats.
src/ssl_sock.c