]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h2/trace: report h2s->id before h2c->dsi for the stream ID
authorWilly Tarreau <w@1wt.eu>
Fri, 30 Aug 2019 05:28:24 +0000 (07:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Aug 2019 05:39:59 +0000 (07:39 +0200)
commitc067a3ac8fe910cf8b204c3baa5d41aa5d408b6c
tree3060d8cb4cd9994a99908d3191fb2c7fdefd4b18
parent17104d46be7ae49d1d5aeb93d8f4dbc3e058b519
MINOR: mux-h2/trace: report h2s->id before h2c->dsi for the stream ID

h2c->dsi is only for demuxing, and needed while decoding a new request.
But if we already have a valid stream ID (e.g. response or outgoing
request), we should use it instead. This avoids seeing [0] in front of
the responses at user level.
src/mux_h2.c