projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f0fadb
)
MINOR: quic: BUG_ON() SSL errors.
author
Frédéric Lécaille
<flecaille@haproxy.com>
Tue, 28 Sep 2021 07:05:59 +0000
(09:05 +0200)
committer
Amaury Denoyelle
<adenoyelle@haproxy.com>
Thu, 7 Oct 2021 15:35:25 +0000
(17:35 +0200)
As this QUIC implementation is still experimental, let's BUG_ON()
very important SSL handshake errors.
Also dump the SSL errors before BUG_ON().
src/xprt_quic.c
patch
|
blob
|
history
diff --git
a/src/xprt_quic.c
b/src/xprt_quic.c
index
750e4d0
..
16d66f3
100644
(file)
--- a/
src/xprt_quic.c
+++ b/
src/xprt_quic.c
@@
-1622,6
+1622,8
@@
static inline int qc_provide_cdata(struct quic_enc_level *el,
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;
}