]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h2: add a trace context filling helper
authorWilly Tarreau <w@1wt.eu>
Tue, 6 Aug 2024 16:33:42 +0000 (18:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 7 Aug 2024 14:02:59 +0000 (16:02 +0200)
commit6c6ef5ae1251a22bde247b8c0c4fac8292c8e357
treeeec0100f3370f8b16b12a92bda6dc01b21f92d84
parent10c8baca4481d41831cd012e587f91f61058caf7
MINOR: mux-h2: add a trace context filling helper

This helper is able to find a connection, a session, a stream, a
frontend or a backend from its args.

Note that this required to always make sure that h2s->sess is reset on
allocation because it's normally initialized later for backend streams,
and producing traces between the two could pre-fill a bad pointer in
the trace_ctx.
src/mux_h2.c