Commit c9e713ff authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Remove the deref/unbusy stuff from FetchBody() it's done in central.c


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@490 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 68960935
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <netdb.h> #include <netdb.h>
#include "libvarnish.h"
#include "shmlog.h" #include "shmlog.h"
#include "cache.h" #include "cache.h"
...@@ -235,11 +234,6 @@ FetchBody(struct worker *w, struct sess *sp) ...@@ -235,11 +234,6 @@ FetchBody(struct worker *w, struct sess *sp)
else else
VBE_RecycleFd(vc); 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); return (0);
} }
......
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