BUG/MINOR: mux-h2/traces: bring back the lost "rcvd H2 REQ" trace
authorWilly Tarreau <w@1wt.eu>
Thu, 17 Jun 2021 06:29:14 +0000 (08:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 17 Jun 2021 06:43:27 +0000 (08:43 +0200)
commit29268e9a3c0937b8a285c19942e3b024ab5c8af3
tree238031894b20ca7833bd34ef74f3fed1b84124ed
parentee4684f65b6ea627e34395d254daf7971d3ed90f
BUG/MINOR: mux-h2/traces: bring back the lost "rcvd H2 REQ" trace

Since commit 7d013e796 ("BUG/MEDIUM: mux-h2: Xfer rxbuf to the upper
layer when creating a front stream"), the rxbuf is lost during the
call to h2c_frt_stream_new(), so the trace that happens later cannot
find a request there and we've lost the useful part indicating what
the request looked like. Let's move the trace before this call.

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