r489 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Tue Jul 18 14:28:32 CEST 2006
Author: phk
Date: 2006-07-18 14:28:32 +0200 (Tue, 18 Jul 2006)
New Revision: 489
Modified:
trunk/varnish-cache/bin/varnishd/cache_hash.c
Log:
Assert that object is busy when we call unbusy
Modified: trunk/varnish-cache/bin/varnishd/cache_hash.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_hash.c 2006-07-18 12:27:57 UTC (rev 488)
+++ trunk/varnish-cache/bin/varnishd/cache_hash.c 2006-07-18 12:28:32 UTC (rev 489)
@@ -128,6 +128,7 @@
struct sess *sp;
assert(o != NULL);
+ assert(o->busy);
assert(o->refcnt > 0);
if (o->cacheable)
EXP_Insert(o);
More information about the varnish-commit
mailing list