MINOR: mux-h2/traces: add a missing TRACE_LEAVE() in h2s_frt_handle_headers()
authorWilly Tarreau <w@1wt.eu>
Mon, 20 Feb 2023 16:05:10 +0000 (17:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 20 Feb 2023 16:22:03 +0000 (17:22 +0100)
commit0d6e5d271f76a75b54b13459a3f5c86117075142
tree1bff207e017cf2dfc8346bf4e4f1f719b158d6f7
parentf9f4499429e678ea648b5fe587662d44402c4ea6
MINOR: mux-h2/traces: add a missing TRACE_LEAVE() in h2s_frt_handle_headers()

Traces from this function would miss a TRACE_LEAVE() on the success path,
which had for consequences, 1) that it was difficult to figure where the
function was left, and 2) that we never had the allocated stream ID
clearly visible (actually the one returned by h2c_frt_stream_new() is
the right one but it's not obvious).

This can be backported to 2.7 and 2.6.
src/mux_h2.c