]> git.kaiwu.me - haproxy.git/commit
MEDIUM: stats: Hide the version by default and add stats-showversion
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 1 Apr 2026 12:25:05 +0000 (14:25 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 1 Apr 2026 12:39:28 +0000 (14:39 +0200)
commit397530b1e9ebbc76a83c8c1cc08e218ce517fee0
tree7914d63d4447a38530d956a3edd7c761a6241c29
parent7c73b08a9843d61238c4baf11714be1dc8b85fee
MEDIUM: stats: Hide the version by default and add stats-showversion

Reverse the default, to hide the version from stats by default, and add
a new keyword, "stats show-version", to enable them, as we don't want to
disclose the version by default, especially on public websites.
doc/configuration.txt
include/haproxy/stats-t.h
src/cfgparse-listen.c
src/stats-html.c