]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h2/trace: emit a trace of the received RST_STREAM type
authorWilly Tarreau <w@1wt.eu>
Wed, 10 Dec 2025 14:56:34 +0000 (15:56 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 10 Dec 2025 14:58:56 +0000 (15:58 +0100)
commit3ec5818807379b56db489173f2a2b24212dd31d8
tree5c17057ec1540a5001c63c3eedc0b4b84d76efbe
parent5b8e6d6811ea5c98cc2bf7544eaceb52983138c7
MINOR: h2/trace: emit a trace of the received RST_STREAM type

Right now we don't get any state trace when receiving an RST_STREAM, and
this is not convenient because RST_STREAM(0) is not visible at all, except
in developer level because the function is entered and left.

Let's extract the RST code first and always log it using TRACE_PRINTF()
(along with h2c/h2s) so that it's possible to detect certain codes being
used.
src/mux_h2.c