git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3289
d4fa192b-c00b-0410-8231-
f00ffab90ce4
{ .backend = {.host = "127.0.0.1";} .weight = k; }
}
}
+
+# invalid weight
+varnish v1 -badvcl {
+ director r1 random {
+ { .backend = {.host = "127.0.0.1";} .weight = 0; }
+ }
+}
+
+# retries spec
+varnish v1 -vcl {
+ director r1 random {
+ .retries = 3;
+ { .backend = {.host = "127.0.0.1";} .weight = 1; }
+ }
+}
+
+varnish v1 -badvcl {
+ director r1 random {
+ .foobar = 3;
+ { .backend = {.host = "127.0.0.1";} .weight = 1; }
+ }
+}
+
+varnish v1 -badvcl {
+ director r1 random {
+ .retries = x;
+ { .backend = {.host = "127.0.0.1";} .weight = 1; }
+ }
+}
+