r859 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Mon Aug 21 11:49:02 CEST 2006


Author: phk
Date: 2006-08-21 11:49:02 +0200 (Mon, 21 Aug 2006)
New Revision: 859

Modified:
   trunk/varnish-cache/bin/varnishd/cache_acceptor.c
Log:
This assert is not warranted, a connection might disappear before
we get to it.


Modified: trunk/varnish-cache/bin/varnishd/cache_acceptor.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_acceptor.c	2006-08-20 19:55:55 UTC (rev 858)
+++ trunk/varnish-cache/bin/varnishd/cache_acceptor.c	2006-08-21 09:49:02 UTC (rev 859)
@@ -425,7 +425,6 @@
 	struct sess *sp;
 
 	if (kp->udata == vca_accept_sess) {
-		assert(kp->data > 0);
 		while (kp->data-- > 0) {
 			sp = vca_accept_sess(kp->ident);
 			if (sp == NULL)




More information about the varnish-commit mailing list