From 6565590b8669132f315fba5d32afca3f56a814b5 Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 5 Aug 2006 20:52:05 +0000 Subject: [PATCH] For consistency: Go to deliver state instead of delivering locally. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@683 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_center.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_center.c b/varnish-cache/bin/varnishd/cache_center.c index 57e32fb1..8641e17f 100644 --- a/varnish-cache/bin/varnishd/cache_center.c +++ b/varnish-cache/bin/varnishd/cache_center.c @@ -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) { -- 2.39.5