Commit d441b165 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Allow session_grace to be set to zero


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@988 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent de12117d
......@@ -176,11 +176,6 @@ tweak_session_grace(struct cli *cli, struct parspec *par, const char *arg)
(void)par;
if (arg != NULL) {
u = strtoul(arg, NULL, 0);
if (u == 0) {
cli_out(cli, "Timeout must be greater than zero\n");
cli_result(cli, CLIS_PARAM);
return;
}
params->session_grace = u;
}
if (cli == NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment