]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: complete traces/debug for handshake
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 18 Nov 2022 14:24:08 +0000 (15:24 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 18 Nov 2022 15:44:46 +0000 (16:44 +0100)
commit2f668f0e601a6ae5fa13a6e15b10dce5a42b4167
tree852c1d4a07e00e98a4e3993c64c6c0494c7374c3
parentbc174b2101f5487c9ff79ddc044a2466b7da1036
MINOR: quic: complete traces/debug for handshake

Add more traces to follow CRYPTO data buffering in ncbuf. Offset for
quic_enc_level is now reported for event QUIC_EV_CONN_PRHPKTS. Also
ncb_advance() must never fail so a BUG_ON() statement is here to
guarantee it.

This was useful to track handshake failure reported too often. This is
related to github issue #1903.

This should be backported up to 2.6.
src/quic_conn.c