Commit 71ecd4ad authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

First stab at implementing pass in vcl_miss()


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@456 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 9a4b6ff6
......@@ -312,8 +312,15 @@ cnt_miss(struct worker *w, struct sess *sp)
VCL_miss_method(sp);
if (sp->handling == VCL_RET_ERROR)
INCOMPL();
if (sp->handling == VCL_RET_PASS)
INCOMPL();
if (sp->handling == VCL_RET_PASS) {
sp->obj->cacheable = 0;
HSH_Unbusy(sp->obj);
HSH_Deref(sp->obj);
sp->obj = 0;
PassSession(w, sp);
sp->step = STP_DONE;
return;
}
if (sp->handling == VCL_RET_LOOKUP)
INCOMPL();
if (sp->handling == VCL_RET_FETCH) {
......
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