]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h3: add traces on decode_qcs callback
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 17 Feb 2023 14:56:06 +0000 (15:56 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 17 Feb 2023 16:31:52 +0000 (17:31 +0100)
commit14037bf26f23a8deb6c11da0c917e838758cb01b
tree4d2a60a624d492cfba05dc1bf3e8f750e3e0f364
parent5a7f83af84d2a08f69ce1629c7609c98f43411ab
MINOR: h3: add traces on decode_qcs callback

Add traces inside h3_decode_qcs(). Every error path has now its
dedicated trace which should simplify debugging. Each early returns has
been converted to a goto invocation.

To complete the demux tracing, demux frame type and length are now
printed using the h3s instance whenever its possible on trace
invocation. A new internal value H3_FT_UNINIT is used as a frame type to
mark demuxing as inactive.

This should be backported up to 2.7.
include/haproxy/h3.h
src/h3.c