git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2890
d4fa192b-c00b-0410-8231-
f00ffab90ce4
backend b-1 { .host = "127.0.0.2"; }
}
-# Assign backend by non-C-compat name
# Check backend reference by non-C-compat name
varnish v1 -badvcl {
backend b1 { .host = "127.0.0.2"; }
set req.backend = b-1;
}
}
+
+# Old backend syntax
+
+varnish v1 -badvcl {
+ backend b1 {
+ set host = "localhost";
+ }
+}
"Remove \"set\" and \"backend\" in front"
" of backend fields.\n" );
vcc_ErrToken(tl, tl->t);
- vsb_printf(tl->sb, " at\n");
+ vsb_printf(tl->sb, " at ");
vcc_ErrWhere(tl, tl->t);
return;
}