]> err.no Git - varnish/commitdiff
Enter pass mode through the front door.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 2 Aug 2006 17:45:02 +0000 (17:45 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 2 Aug 2006 17:45:02 +0000 (17:45 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@607 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_center.c

index 05876c1c174aae4e49df0bcdc19a0bd529552abb..ce9a9a203d42c94f3086f7eaef9d522fadf5b391 100644 (file)
@@ -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)