]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: cfgparse-global: remove tune.fast-forward from common_kw_list
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Wed, 14 Aug 2024 18:05:58 +0000 (20:05 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 20 Aug 2024 17:16:34 +0000 (19:16 +0200)
Remove tune.fast-forward from common_kw_list. It was replaced by
'tune.disable-fast-forward' and it's no longer present in "if..else if.."
parser from cfg_parse_global(). Otherwise, it may be shown as the best-match
keyword for some tune options, which is now wrong.

Should be backported in versions 2.9 and 3.0.

src/cfgparse-global.c

index 6f80b65717e3880f1e853eee5f59bd0a61ef8108..3a59824cbd76b91c7eda5caf9a1dec8aafd90a29 100644 (file)
@@ -33,8 +33,7 @@ int cluster_secret_isset;
 static const char *common_kw_list[] = {
        "global", "busy-polling", "set-dumpable",
        "insecure-fork-wanted", "insecure-setuid-wanted", "nosplice",
-       "nogetaddrinfo", "noreuseport",
-       "tune.fast-forward", "uid", "gid",
+       "nogetaddrinfo", "noreuseport", "uid", "gid",
        "external-check", "user", "group", "maxconn",
        "ssl-server-verify", "maxconnrate", "maxsessrate", "maxsslrate",
        "maxcomprate", "maxpipes", "maxzlibmem", "maxcompcpuusage", "ulimit-n",