]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: backend: Deprecate tune.takeover-other-tg-connections.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 6 Aug 2026 10:55:39 +0000 (12:55 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 7 Aug 2026 10:13:45 +0000 (12:13 +0200)
Deprecate tune.takeover-other-tg-connections, as we're now supposed to
use tune.idle-pool.shared.

src/cfgparse-global.c

index d2eb94b7d855ae63923e9d12ba6c1d63870bc248..e16eadab8b7776e028ef7e14155717e15a632f85 100644 (file)
@@ -1492,6 +1492,7 @@ static int cfg_parse_global_tune_opts(char **args, int section_type,
                }
        }
        else if (strcmp(args[0], "tune.takeover-other-tg-connections") == 0) {
+               ha_warning("parsing [%s:%d]: '%s' is deprecated and will be removed in version 3.7. Please use 'tune.idle-pool.shared\n", file, line, args[0]);
                if (*(args[1]) == 0) {
                        memprintf(err, "'%s' expects 'none', 'restricted', or 'full'", args[0]);
                        return -1;