r4523 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Mon Feb 1 20:44:50 CET 2010


Author: phk
Date: 2010-02-01 20:44:50 +0100 (Mon, 01 Feb 2010)
New Revision: 4523

Modified:
   trunk/varnish-cache/bin/varnishd/cache_esi.c
Log:
Fix an unwarranted assert, st->len can of course use the entire
storage space.

Fixes	590



Modified: trunk/varnish-cache/bin/varnishd/cache_esi.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_esi.c	2010-02-01 18:48:08 UTC (rev 4522)
+++ trunk/varnish-cache/bin/varnishd/cache_esi.c	2010-02-01 19:44:50 UTC (rev 4523)
@@ -845,7 +845,7 @@
 		VTAILQ_INSERT_TAIL(&ed->esibits, eb, list);
 	}
 
-	assert(st->len < st->space);
+	assert(st->len <= st->space);
 	assert(st->len == ew->space);
 	sp->obj->esidata = ed;
 



More information about the varnish-commit mailing list