r3211 - trunk/varnish-cache/lib/libvcl
phk at projects.linpro.no
phk at projects.linpro.no
Mon Sep 22 10:15:31 CEST 2008
Author: phk
Date: 2008-09-22 10:15:31 +0200 (Mon, 22 Sep 2008)
New Revision: 3211
Modified:
trunk/varnish-cache/lib/libvcl/vcc_backend.c
Log:
Use 127.0.0.1 instead of localhost to test the ports argument, localhost
may not resolve.
Remind me to change this when IPv4 goes away :-)
Fixes #327
Modified: trunk/varnish-cache/lib/libvcl/vcc_backend.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_backend.c 2008-09-21 07:36:05 UTC (rev 3210)
+++ trunk/varnish-cache/lib/libvcl/vcc_backend.c 2008-09-22 08:15:31 UTC (rev 3211)
@@ -580,7 +580,7 @@
/* Check that the portname makes sense */
if (t_port != NULL) {
- ep = CheckHostPort("localhost", t_port->dec);
+ ep = CheckHostPort("127.0.0.1", t_port->dec);
if (ep != NULL) {
vsb_printf(tl->sb,
"Backend port '%.*s': %s\n", PF(t_port), ep);
More information about the varnish-commit
mailing list