r2887 - trunk/varnish-cache/lib/libvcl

phk at projects.linpro.no phk at projects.linpro.no
Mon Jul 7 20:26:15 CEST 2008


Author: phk
Date: 2008-07-07 20:26:15 +0200 (Mon, 07 Jul 2008)
New Revision: 2887

Modified:
   trunk/varnish-cache/lib/libvcl/vcc_backend.c
Log:
Don't allow the invisible simple director to reference backend defined
by another simple director, it would be too hard to explain why they
shared statistics and harder yet to make them not do so.



Modified: trunk/varnish-cache/lib/libvcl/vcc_backend.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_backend.c	2008-07-07 18:21:06 UTC (rev 2886)
+++ trunk/varnish-cache/lib/libvcl/vcc_backend.c	2008-07-07 18:26:15 UTC (rev 2887)
@@ -375,7 +375,7 @@
 	h->name = tl->t;
 	vcc_NextToken(tl);
 
-	vcc_ParseBackendHost(tl, &nbh, h->name, "backend", 0);
+	vcc_ParseHostDef(tl, &nbh, h->name, "backend", 0);
 	ERRCHK(tl);
 
 	h->hnum = nbh;




More information about the varnish-commit mailing list