From: Willy Tarreau Date: Tue, 15 Jun 2021 09:37:35 +0000 (+0200) Subject: MEDIUM: config: warn about "bind-process" deprecation X-Git-Tag: v2.5-dev1~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b54ca70e7c86a064f5fb906b5fa31c316cda4d54;p=thirdparty%2Fhaproxy.git MEDIUM: config: warn about "bind-process" deprecation Let's indicate that "bind-process" is deprecated and scheduled for removal in 2.7, as it only supports "1". --- diff --git a/src/cfgparse-listen.c b/src/cfgparse-listen.c index 80793d9068..0929ba4d8a 100644 --- a/src/cfgparse-listen.c +++ b/src/cfgparse-listen.c @@ -616,6 +616,9 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm) } cur_arg++; } + ha_warning("parsing [%s:%d]: '%s' has no effect, is deprecated, and will be removed in version 2.7.\n", + file, linenum, args[0]); + err_code |= ERR_WARN; } else if (strcmp(args[0], "acl") == 0) { /* add an ACL */ if (curproxy->cap & PR_CAP_DEF) {