diff --git a/include/proto/connection.h b/include/proto/connection.h index 8609f1774..dde9b8c7e 100644 --- a/include/proto/connection.h +++ b/include/proto/connection.h @@ -581,6 +581,7 @@ static inline const char *conn_err_code_str(struct connection *c) case CO_ER_SSL_CA_FAIL: return "SSL client CA chain cannot be verified"; case CO_ER_SSL_CRT_FAIL: return "SSL client certificate not trusted"; case CO_ER_SSL_HANDSHAKE: return "SSL handshake failure"; + case CO_ER_SSL_HANDSHAKE_HB: return "SSL handshake failure after heartbeat"; case CO_ER_SSL_NO_TARGET: return "Attempt to use SSL on an unknown target (internal error)"; } return NULL; diff --git a/include/types/connection.h b/include/types/connection.h index 5341a86d6..84248c98e 100644 --- a/include/types/connection.h +++ b/include/types/connection.h @@ -162,6 +162,7 @@ enum { CO_ER_SSL_CA_FAIL, /* client cert verification failed in the CA chain */ CO_ER_SSL_CRT_FAIL, /* client cert verification failed on the certificate */ CO_ER_SSL_HANDSHAKE, /* SSL error during handshake */ + CO_ER_SSL_HANDSHAKE_HB, /* SSL error during handshake with heartbeat present */ CO_ER_SSL_NO_TARGET, /* unkonwn target (not client nor server) */ };