mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-18 01:14:38 +00:00
MINOR: config: Add a warning if tune.chksize is used
This option is now deprecated. It is recent, but it is now marked as deprecated as far as 2.2. Thus, there is now a warning in the 2.4 if this option is still used. It will be removed in 2.5. Becaue the 2.3 is quite new, this patch may be backported to 2.3.
This commit is contained in:
parent
bb9fb8b7f8
commit
f8c869bac4
@ -190,7 +190,8 @@ int cfg_parse_global(const char *file, int linenum, char **args, int kwm)
|
||||
global.tune.maxaccept = max;
|
||||
}
|
||||
else if (!strcmp(args[0], "tune.chksize")) {
|
||||
/* Deprecated now */
|
||||
ha_warning("parsing [%s:%d]: the option '%s' is deprecated and will be removed in next version.\n",
|
||||
file, linenum, args[0]);
|
||||
}
|
||||
else if (!strcmp(args[0], "tune.recv_enough")) {
|
||||
if (alertif_too_many_args(1, file, linenum, args, &err_code))
|
||||
|
Loading…
Reference in New Issue
Block a user