r4508 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Thu Jan 28 12:21:26 CET 2010


Author: phk
Date: 2010-01-28 12:21:25 +0100 (Thu, 28 Jan 2010)
New Revision: 4508

Modified:
   trunk/varnish-cache/bin/varnishd/cache_backend.c
Log:
Allow backend timeouts to be zero.


Fixes #635



Modified: trunk/varnish-cache/bin/varnishd/cache_backend.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_backend.c	2010-01-28 11:09:18 UTC (rev 4507)
+++ trunk/varnish-cache/bin/varnishd/cache_backend.c	2010-01-28 11:21:25 UTC (rev 4508)
@@ -98,7 +98,6 @@
 			dst = be->tmx;		\
 		if (dst == 0.0)			\
 			dst = params->tmx;	\
-		assert(dst > 0.0);		\
 	} while (0)
 		
 



More information about the varnish-commit mailing list