From: Amaury Denoyelle Date: Thu, 25 Jun 2026 12:29:47 +0000 (+0200) Subject: BUG/MINOR: h3: adjust HTTP headers traces X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/stylesheets/print.css?a=commitdiff_plain;h=ea54d3fd1be78401cf9ad1e8ee7de5b932d49f9d;p=haproxy.git 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. --- 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)); }