BUG/MINOR: mux-h2/traces: bring back the lost "sent H2 REQ/RES" traces
authorWilly Tarreau <w@1wt.eu>
Thu, 17 Jun 2021 06:40:04 +0000 (08:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 17 Jun 2021 06:43:43 +0000 (08:43 +0200)
commit3a53707160c90101722c08438721304b8c89e84c
treea5a7c57a79d18e2b721abd7b101d791b9b100b2f
parent29268e9a3c0937b8a285c19942e3b024ab5c8af3
BUG/MINOR: mux-h2/traces: bring back the lost "sent H2 REQ/RES" traces

In 2.4, commit d1ac2b90c ("MAJOR: htx: Remove the EOM block type and
use HTX_FL_EOM instead") changed the HTX processing to destroy the
blocks as they are processed. So the traces that were emitted at the
end of the send headers functions didn't have anything to show.

Let's move these traces earlier in the function, right before the HTX
processing, so that everything is still in place.

This should be backported to 2.4.
src/mux_h2.c