]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: h3: only increment frame type counter on new header
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 3 Sep 2026 15:55:47 +0000 (17:55 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 8 Sep 2026 13:02:29 +0000 (15:02 +0200)
commit023d4e7a8fd81909b7acab3e8fee53411a6c3f58
treeda533b623cc1321a1f14e0c1a05141a454799e27
parentfe1da6850ab3e89e242c1d8d53ef17a1ba1dee6b
BUG/MINOR: h3: only increment frame type counter on new header

For every new HTTP/3 received frame, a counter related to the frame type
is incremented. This operation is performed directly in h3_rcv_buf()
parsing loop.

Prior to this patch, increment would be called too many times when
dealing with large frames. Fix this by ensuring that the increment is
only reported once per frame. This is now performed directly after
HTTP/3 frame header parsing.

This must be backported up to 2.6.
src/h3.c