mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-10 17:17:06 +02:00
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".
This commit is contained in:
parent
317804d288
commit
b54ca70e7c
@ -616,6 +616,9 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
|
|||||||
}
|
}
|
||||||
cur_arg++;
|
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 */
|
else if (strcmp(args[0], "acl") == 0) { /* add an ACL */
|
||||||
if (curproxy->cap & PR_CAP_DEF) {
|
if (curproxy->cap & PR_CAP_DEF) {
|
||||||
|
Loading…
Reference in New Issue
Block a user