]> err.no Git - varnish/commitdiff
For consistency: Go to deliver state instead of delivering locally.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 5 Aug 2006 20:52:05 +0000 (20:52 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 5 Aug 2006 20:52:05 +0000 (20:52 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@683 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_center.c

index 57e32fb135f16b7c3fb158497e266add7d63f0b9..8641e17f9738cb3ba6a88196040fad7499a9e676 100644 (file)
@@ -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) {