r4633 - trunk/varnish-cache/bin/varnishd

phk at varnish-cache.org phk at varnish-cache.org
Fri Mar 19 23:46:17 CET 2010


Author: phk
Date: 2010-03-19 23:46:17 +0100 (Fri, 19 Mar 2010)
New Revision: 4633

Modified:
   trunk/varnish-cache/bin/varnishd/cache_hash.c
Log:
Remove invalid assert, the waitinglist is overloaded with the
critbit cooling-list, making this check invalid.

Spotted by:	Justin Pasher



Modified: trunk/varnish-cache/bin/varnishd/cache_hash.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_hash.c	2010-03-18 11:14:36 UTC (rev 4632)
+++ trunk/varnish-cache/bin/varnishd/cache_hash.c	2010-03-19 22:46:17 UTC (rev 4633)
@@ -154,7 +154,6 @@
 
 	AZ(oh->refcnt);
 	assert(VTAILQ_EMPTY(&oh->objcs));
-	assert(VTAILQ_EMPTY(&oh->waitinglist));
 	Lck_Delete(&oh->mtx);
 	w->stats.n_objecthead--;
 	FREE_OBJ(oh);




More information about the varnish-commit mailing list