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 80793d9..0929ba4 100644
--- a/src/cfgparse-listen.c
+++ b/src/cfgparse-listen.c
@@ -616,6 +616,9 @@
}
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) {