]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: quic/h3: display QUIC/H3 backend module on HTML stats
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 20 Feb 2026 10:18:10 +0000 (11:18 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 20 Feb 2026 13:08:27 +0000 (14:08 +0100)
QUIC is now implemented on the backend side. Complete definitions for
QUIC/H3 stats module to add STATS_PX_CAP_BE capability.

This change is necessary to display QUIC/H3 counters on backend lines
for HTML stats page.

This should be backported up to 3.3.

src/h3_stats.c
src/quic_stats.c

index 48dac339e5206fa2ed1e48429dfa289aa11ac418..f50f5af0b64a399a6f4c5b9fd0185fd7782b4c1b 100644 (file)
@@ -246,7 +246,7 @@ struct stats_module h3_stats_module = {
        .stats_count   = H3_STATS_COUNT,
        .counters      = &h3_counters,
        .counters_size = sizeof(h3_counters),
-       .domain_flags  = MK_STATS_PROXY_DOMAIN(STATS_PX_CAP_FE),
+       .domain_flags  = MK_STATS_PROXY_DOMAIN(STATS_PX_CAP_FE|STATS_PX_CAP_BE),
        .clearable     = 1,
 };
 
index 9d9b34310f22c936e01b0bcb09bef3aa0175f4c6..9b6927f637a8ee682ac2533365b4e1c4a638e4f4 100644 (file)
@@ -247,7 +247,7 @@ struct stats_module quic_stats_module = {
        .stats_count   = QUIC_STATS_COUNT,
        .counters      = &quic_counters,
        .counters_size = sizeof(quic_counters),
-       .domain_flags  = MK_STATS_PROXY_DOMAIN(STATS_PX_CAP_FE),
+       .domain_flags  = MK_STATS_PROXY_DOMAIN(STATS_PX_CAP_FE|STATS_PX_CAP_BE),
        .clearable     = 1,
 };