]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: config: warn when expose-experimental-directives is used for no reason
authorWilly Tarreau <w@1wt.eu>
Fri, 17 Oct 2025 16:15:12 +0000 (18:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 17 Oct 2025 17:00:21 +0000 (19:00 +0200)
commit8b7a82cd3009a270a551837c9070efdb018b8823
tree33d0ef7e7ba568fc323e7598209646bd03ee556d
parent80ed9f9dcf81842d23429149293ca06bcac50e2d
MEDIUM: config: warn when expose-experimental-directives is used for no reason

If users start to enable expose-experimental-directives for the purpose
of testing one specific feature, there are chances that the option remains
forever and hides the experimental status of other options.

Let's emit a warning if the option appears and is not used. This will
remind users that they can now drop it, and help keep configs safe for
future upgrades.
doc/configuration.txt
src/cfgparse.c