r490 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Tue Jul 18 14:29:11 CEST 2006
Author: phk
Date: 2006-07-18 14:29:11 +0200 (Tue, 18 Jul 2006)
New Revision: 490
Modified:
trunk/varnish-cache/bin/varnishd/cache_fetch.c
Log:
Remove the deref/unbusy stuff from FetchBody() it's done in central.c
Modified: trunk/varnish-cache/bin/varnishd/cache_fetch.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_fetch.c 2006-07-18 12:28:32 UTC (rev 489)
+++ trunk/varnish-cache/bin/varnishd/cache_fetch.c 2006-07-18 12:29:11 UTC (rev 490)
@@ -13,7 +13,6 @@
#include <sys/socket.h>
#include <netdb.h>
-#include "libvarnish.h"
#include "shmlog.h"
#include "cache.h"
@@ -235,11 +234,6 @@
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);
}
More information about the varnish-commit
mailing list