]> git.kaiwu.me - haproxy.git/commit
MINOR: stats: factor the proxy vs scope check into its own function
authorWilly Tarreau <w@1wt.eu>
Fri, 10 Jul 2026 08:45:07 +0000 (10:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 Jul 2026 14:27:23 +0000 (16:27 +0200)
commit9a8f923b02c71588590f8e6e03b192c0a737c32d
tree128b618e3c957d5f702d2aac0206aacbc0db2d0b
parent16d259c5db02997e2da47d77bb4f71fa09197c89
MINOR: stats: factor the proxy vs scope check into its own function

We'll need to check for matching between a proxy and a stats scope at
a few more places, so let's first move the code out of its current
function (stats_dump_proxy_to_buffer) into its own function
(stats_proxy_in_scope). At this point it doesn't change anything.
Note that this will have to be backported as this will be used with
a subsequent fix.
include/haproxy/stats-proxy.h
src/stats-proxy.c