]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLENAUP: cfgparse: accept-invalid-http-* does not support "no"/"defaults"
authorWilly Tarreau <w@1wt.eu>
Mon, 23 Feb 2026 14:42:04 +0000 (15:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 23 Feb 2026 14:44:40 +0000 (15:44 +0100)
commitbbd8492c2220f1b4a11ee0d7319da9578f2c0845
treea8c2e2d4566423c4b5abb570aa0b0fc4a2b9bc0a
parentbf363a71352965cc5908c926c5e917420923eaba
CLENAUP: cfgparse: accept-invalid-http-* does not support "no"/"defaults"

Some options do not support "no" nor "defaults" and they're placed after
the check for their absence. However, "accept-invalid-http-request" and
"accept-invalid-http-response" still used to check for the flags that
come with these prefixes, but Coverity noticed this was dead code in
github issue #3272. Let's just drop the test.

No backport needed as it's just dead code.
src/cfgparse-listen.c