commit | 4554bc189dc9acba143b1cfc788841134bf88111 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Mar 26 10:40:49 2010 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Mar 26 10:40:49 2010 +0100 |
tree | 195a1b28b8db89652e774c65f67a552ec51db70e | |
parent | e24fdfb8be799ceb8f37800f4b28c8bc3d352296 [diff] |
[MINOR] config: allow "slowstart 0s" Sometimes it's useful to be able to disable slowstart by setting "slowstart 0".
diff --git a/src/cfgparse.c b/src/cfgparse.c index f21c278..bddb6e7 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c
@@ -3305,7 +3305,7 @@ 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;