[MINOR] config: allow "slowstart 0s"

Sometimes it's useful to be able to disable slowstart by setting "slowstart 0".
This commit is contained in:
Willy Tarreau 2010-03-26 10:40:49 +01:00
parent e24fdfb8be
commit 4554bc189d

View File

@ -3305,7 +3305,7 @@ stats_error_parsing:
err_code |= ERR_ALERT | ERR_FATAL;
goto out;
}
if (val <= 0) {
if (val < 0) {
Alert("parsing [%s:%d]: invalid value %d for argument '%s' of server %s.\n",
file, linenum, val, args[cur_arg], newsrv->id);
err_code |= ERR_ALERT | ERR_FATAL;