Commit ea100e0a authored by Federico G. Schwindt's avatar Federico G. Schwindt

Update tests so they compile at the very least

parent 2f017f0d
...@@ -41,7 +41,7 @@ varnish v1 -arg "-p workspace_client=3072" -vcl+backend { ...@@ -41,7 +41,7 @@ varnish v1 -arg "-p workspace_client=3072" -vcl+backend {
} }
sub vcl_hash { sub vcl_hash {
hash_data(req.url); hash_data(req.url);
return (hash); return (lookup);
} }
} -start } -start
......
...@@ -23,7 +23,7 @@ varnish v1 -vcl+backend { ...@@ -23,7 +23,7 @@ varnish v1 -vcl+backend {
} }
} }
sub vcl_backend_response { sub vcl_backend_response {
if (req.url == "/") { if (bereq.url == "/") {
set beresp.do_esi = true; set beresp.do_esi = true;
} }
set beresp.do_stream = true; set beresp.do_stream = true;
......
...@@ -23,10 +23,10 @@ server s1 { ...@@ -23,10 +23,10 @@ server s1 {
varnish v1 -vcl+backend { varnish v1 -vcl+backend {
sub vcl_backend_response { sub vcl_backend_response {
if (req.url == "/foo") { if (bereq.url == "/foo") {
set beresp.do_gzip = true; set beresp.do_gzip = true;
} }
if (req.url == "/barf") { if (bereq.url == "/barf") {
set beresp.do_gunzip = true; set beresp.do_gunzip = true;
} }
set beresp.do_stream = true; set beresp.do_stream = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment