]> git.kaiwu.me - haproxy.git/commit
CLEANUP: mux-h2/traces: remove unused trace code when building without USE_TRACE
authorWilly Tarreau <w@1wt.eu>
Wed, 1 Jul 2026 09:22:06 +0000 (11:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Jul 2026 14:32:28 +0000 (16:32 +0200)
commit10166c16adf1d72d86fd403726484eedb4a0b83b
tree5b83f764e151d0234798821c221bb99f43b52b54
parent8bb55185f6c5e24eb231c5d4405289eaea0405ef
CLEANUP: mux-h2/traces: remove unused trace code when building without USE_TRACE

By just moving a few definitions, creating two dummy inline functions and
a few ifdefs, we can get rid of the entire trace generation code in the
H2 mux and save ~96 kB. This is what this patch does. Even the trace_h2
struct is removed in this case.
src/mux_h2.c