commit | 7c881bdab8337acfc960de208383843928c1afad | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Tue Sep 28 09:05:59 2021 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu Oct 07 17:35:25 2021 +0200 |
tree | 04654d0b2f20dda03f15ffd911af4717052b7504 | |
parent | 6f0fadb5a79959bfa0c7796164393952d3427aed [diff] |
MINOR: quic: BUG_ON() SSL errors. As this QUIC implementation is still experimental, let's BUG_ON() very important SSL handshake errors. Also dump the SSL errors before BUG_ON().
diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 750e4d0..16d66f3 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c
@@ -1622,6 +1622,8 @@ TRACE_DEVEL("SSL handshake error", QUIC_EV_CONN_HDSHK, ctx->conn, &state, &ssl_err); + qc_ssl_dump_errors(ctx->conn); + BUG_ON(1); goto err; }