]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: fix counters used on BE side
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 20 Feb 2026 10:05:20 +0000 (11:05 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 20 Feb 2026 13:08:27 +0000 (14:08 +0100)
commitb8cb8e1a65c52b8111a0cb6cab9574688c0e5f57
treeef56d71783f529d92dfbb68a44b27e7a7a49f48f
parentdb360d466ba6f3e3d34212cf0c77ce099d96b670
BUG/MINOR: quic: fix counters used on BE side

quic_conn is initialized with a pointer to its proxy counters. These
counters are then updated during the connection lifetime.

Counters pointer was incorrect for backend quic_conn, as it always
referenced frontend counters. For pure backend, no stats would be
updated. For listen instances, this resulted in incorrect stats
reporting.

Fix this by correctly set proxy counters based on the connection side.

This must be backported up to 3.3.
include/haproxy/quic_conn.h
src/quic_conn.c