r4253 - branches/2.0/varnish-cache/bin/varnishd

tfheen at projects.linpro.no tfheen at projects.linpro.no
Mon Sep 28 13:04:32 CEST 2009


Author: tfheen
Date: 2009-09-28 13:04:32 +0200 (Mon, 28 Sep 2009)
New Revision: 4253

Modified:
   branches/2.0/varnish-cache/bin/varnishd/cache_hash.c
Log:
Partially revert r4055/r4252: Not suitable for 2.0

The object will not have a ban yet in the 2.0 branch, so revert the
cache_hash part of r4252.


Modified: branches/2.0/varnish-cache/bin/varnishd/cache_hash.c
===================================================================
--- branches/2.0/varnish-cache/bin/varnishd/cache_hash.c	2009-09-28 10:34:47 UTC (rev 4252)
+++ branches/2.0/varnish-cache/bin/varnishd/cache_hash.c	2009-09-28 11:04:32 UTC (rev 4253)
@@ -389,7 +389,6 @@
 	o = sp->obj;
 	CHECK_OBJ_NOTNULL(o, OBJECT_MAGIC);
 	assert(o->busy);
-	AN(o->ban);
 	assert(o->refcnt > 0);
 	if (o->ws_o->overflow)
 		VSL_stats->n_objoverflow++;



More information about the varnish-commit mailing list