Commit 59a09675 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Slam grace and keep to zero if we fall back to a transient object.

Reminded by:	Tollef
Related to:	#953
parent a39f3ee6
......@@ -756,6 +756,8 @@ cnt_fetchbody(struct sess *sp)
&sp->wrk->exp, nhttp);
if (sp->wrk->exp.ttl > params->shortlived)
sp->wrk->exp.ttl = params->shortlived;
sp->wrk->exp.grace = 0.0;
sp->wrk->exp.keep = 0.0;
}
if (sp->obj == NULL) {
sp->err_code = 503;
......
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