]> err.no Git - varnish/commitdiff
Remove the deref/unbusy stuff from FetchBody() it's done in central.c
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 18 Jul 2006 12:29:11 +0000 (12:29 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 18 Jul 2006 12:29:11 +0000 (12:29 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@490 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_fetch.c

index 4a619eecc408a27bb7a28b6ad9e9e9615b1f62ba..ba8ed484375d690872ce32fe7e25a76273899430 100644 (file)
@@ -13,7 +13,6 @@
 #include <sys/socket.h>
 #include <netdb.h>
 
-#include "libvarnish.h"
 #include "shmlog.h"
 #include "cache.h"
 
@@ -235,11 +234,6 @@ FetchBody(struct worker *w, struct sess *sp)
        else
                VBE_RecycleFd(vc);
 
-       HSH_Unbusy(sp->obj);
-       /* Hold on to the reference count, it's not released until
-        * expiry */
-       if (!sp->obj->cacheable)
-               HSH_Deref(sp->obj);
        return (0);
 }