]> git.kaiwu.me - haproxy.git/commit
MINOR: quic: use the right trace event in quic_tls_key_update()
authorFrederic Lecaille <flecaille@haproxy.com>
Thu, 29 Oct 2026 10:47:16 +0000 (11:47 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Tue, 3 Nov 2026 06:56:46 +0000 (07:56 +0100)
commit461ea717453e4df61e4dcbebd469cc569ef2d5b8
tree212cb9d89e9821c13dc4596cc0a901d6cb3ccb80
parent1f3f6b765f6afa1b643ec9c39e6f94027fb4d266
MINOR: quic: use the right trace event in quic_tls_key_update()

The next RX/TX secret lengths are reported with QUIC_EV_CONN_SPPKTS,
whose handler expects a <struct quic_tx_packet *>, while the rest of the
function uses QUIC_EV_CONN_KP event. TRACE_PRINTF() bypasses the source
callback through <&trace_no_cb>, so nothing crashed: the message was
just filtered under the wrong event.
src/quic_tls.c