From: Frederic Lecaille Date: Thu, 29 Oct 2026 10:47:16 +0000 (+0100) Subject: MINOR: quic: use the right trace event in quic_tls_key_update() X-Git-Tag: v3.5-dev11~75 X-Git-Url: https://git.kaiwu.me/?a=commitdiff_plain;h=461ea717453e4df61e4dcbebd469cc569ef2d5b8;p=haproxy.git 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 , 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. --- diff --git a/src/quic_tls.c b/src/quic_tls.c index 10d7e7ade..a52a42416 100644 --- a/src/quic_tls.c +++ b/src/quic_tls.c @@ -1088,7 +1088,7 @@ int quic_tls_key_update(struct quic_conn *qc) TRACE_ENTER(QUIC_EV_CONN_KP, qc); - TRACE_PRINTF(TRACE_LEVEL_DEVELOPER, QUIC_EV_CONN_SPPKTS, qc, 0, 0, 0, + TRACE_PRINTF(TRACE_LEVEL_DEVELOPER, QUIC_EV_CONN_KP, qc, 0, 0, 0, "nxt_rx->secretlen=%llu rx->secretlen=%llu", (ull)nxt_rx->secretlen, (ull)rx->secretlen); /* Prepare new RX secrets */