]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proxy: permit to report version info for option deprecation
authorWilly Tarreau <w@1wt.eu>
Fri, 26 Jun 2026 08:23:23 +0000 (10:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 26 Jun 2026 08:23:23 +0000 (10:23 +0200)
commitb12ef0aa447fdbc6ecd142bac212cd41e728ff5f
treefe627fd6330b020ca82268efa043fa392bae908e
parent088552ec0856a9ee2d9558b177833c1eff564a97
MINOR: proxy: permit to report version info for option deprecation

It's already possible to report that some options are not supported due
to build options by passing 0 instead of PR_CAP_* in the option's cap
field. Let's extend that by passing a non-zero value in the val field,
where the 3rd byte will be the major version and the 4th one the minor.
In this case haproxy will now indicate that support for that option was
removed in that version.
src/cfgparse-listen.c
src/proxy.c