From ea54d3fd1be78401cf9ad1e8ee7de5b932d49f9d Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Thu, 25 Jun 2026 14:29:47 +0200 Subject: [PATCH] BUG/MINOR: h3: adjust HTTP headers traces In a recent patch, dedicated HTTP/3 traces have been added to log the transfered HTTP content, with the start/status line and headers as well. This patch adjusts these traces, correcting "qcc" typo to "qcs". It also now correctly pass qcc and qcs as argument, which is used for trace follow. No need to backport unless HTTP/3 header traces are picked to previous releases. --- src/h3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/h3.c b/src/h3.c index e9501fb79..ed581e26a 100644 --- a/src/h3.c +++ b/src/h3.c @@ -649,7 +649,7 @@ static void _h3_trace_header(const struct ist n, const struct ist v, s_str = chunk_newstr(&trash); if (qcs) - chunk_appendf(&trash, " qcc=%p(%llu)", qcs, (ullong)qcs->id); + chunk_appendf(&trash, " qcs=%p(%llu)", qcs, (ullong)qcs->id); n_short = ist2(chunk_newstr(&trash), 0); istscpy(&n_short, n, 256); @@ -664,7 +664,7 @@ static void _h3_trace_header(const struct ist n, const struct ist v, chunk_appendf(&trash, " (... +%ld)", (long)(v.len - v_short.len)); TRACE_PRINTF_LOC(TRACE_LEVEL_USER, mask, trc_loc, func, - 0, 0, 0, 0, "%s%s %s %s: %s", c_str, s_str, + qcc->conn, qcs, 0, 0, "%s%s %s %s: %s", c_str, s_str, mask & H3_EV_TX_HDR ? "sndh" : "rcvh", istptr(n_short), istptr(v_short)); } -- 2.47.3