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

Enter pass mode through the front door.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@607 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent c3b7a654
......@@ -261,7 +261,6 @@ cnt_hit(struct sess *sp)
if (sp->handling == VCL_RET_PASS) {
HSH_Deref(sp->obj);
sp->obj = NULL;
PassSession(sp);
sp->step = STP_PASS;
return (0);
}
......@@ -396,9 +395,8 @@ cnt_miss(struct sess *sp)
sp->obj->cacheable = 0;
HSH_Unbusy(sp->obj);
HSH_Deref(sp->obj);
sp->obj = 0;
PassSession(sp);
sp->step = STP_PASSBODY;
sp->obj = NULL;
sp->step = STP_PASS;
return (0);
}
if (sp->handling == VCL_RET_LOOKUP)
......
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