projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
317804d
)
MEDIUM: config: warn about "bind-process" deprecation
author
Willy Tarreau
<w@1wt.eu>
Tue, 15 Jun 2021 09:37:35 +0000
(11:37 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Tue, 15 Jun 2021 14:52:42 +0000
(16:52 +0200)
Let's indicate that "bind-process" is deprecated and scheduled for
removal in 2.7, as it only supports "1".
src/cfgparse-listen.c
patch
|
blob
|
history
diff --git
a/src/cfgparse-listen.c
b/src/cfgparse-listen.c
index
80793d9
..
0929ba4
100644
(file)
--- 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) {