r3131 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Tue Aug 26 11:32:24 CEST 2008


Author: phk
Date: 2008-08-26 11:32:24 +0200 (Tue, 26 Aug 2008)
New Revision: 3131

Modified:
   trunk/varnish-cache/bin/varnishd/cache_backend_poll.c
Log:
Mark all nonprobed backends healty



Modified: trunk/varnish-cache/bin/varnishd/cache_backend_poll.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_backend_poll.c	2008-08-26 09:23:29 UTC (rev 3130)
+++ trunk/varnish-cache/bin/varnishd/cache_backend_poll.c	2008-08-26 09:32:24 UTC (rev 3131)
@@ -417,6 +417,8 @@
 	AN(vt);
 	if (!memcmp(&vt->probe, p, sizeof *p)) {
 		FREE_OBJ(vt);
+		/* No probe defined for this backend, set it healthy */
+		b->healthy = 1;
 		return;
 	}
 	vt->backend = b;




More information about the varnish-commit mailing list