Adjust to changed Via header in varnish-cache

parent 8548ae68
......@@ -39,6 +39,7 @@ varnish v1 -vcl+backend {
}
sub vcl_deliver {
unset resp.http.Via;
dtop.update(a.get());
if (req.esi_level > 0) {
# this does not make it into the final response because
......@@ -51,7 +52,7 @@ varnish v1 -vcl+backend {
logexpect l1 -v v1 -g request {
expect 0 1001 Begin "^req .* rxreq"
expect * = ReqAcct "^35 0 35 187 75 262$"
expect * = ReqAcct "^35 0 35 155 75 230$"
expect 0 = End
} -start
......@@ -75,7 +76,7 @@ logexpect l4 -v v1 -g request {
logexpect l5 -v v1 -g request {
expect * 1005 Begin "^req .* rxreq"
expect * = ReqAcct "^35 0 35 192 75 267$"
expect * = ReqAcct "^35 0 35 160 75 235$"
expect 0 = End
} -start
......
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