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

For consistency: Go to deliver state instead of delivering locally.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@683 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 46756f2f
......@@ -272,10 +272,7 @@ cnt_hit(struct sess *sp)
sp->handling = VCL_RET_PASS;
if (sp->handling == VCL_RET_DELIVER) {
RES_WriteObj(sp);
HSH_Deref(sp->obj);
sp->obj = NULL;
sp->step = STP_DONE;
sp->step = STP_DELIVER;
return (0);
}
if (sp->handling == VCL_RET_PASS) {
......
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