No need to append the zipflow filter

parent 88f6280f
...@@ -19,7 +19,7 @@ varnish v1 -vcl { ...@@ -19,7 +19,7 @@ varnish v1 -vcl {
synthetic(" /FIRST/FROM/RESP/file /file1"); synthetic(" /FIRST/FROM/RESP/file /file1");
zipflow.subreqs_from_body(resp_body); zipflow.subreqs_from_body(resp_body);
zipflow.subreqs_from_body(req_body); zipflow.subreqs_from_body(req_body);
set resp.filters += " zipflow"; set resp.filters = "zipflow";
} }
sub synth_sub { sub synth_sub {
......
...@@ -28,7 +28,7 @@ varnish v1 -vcl+backend { ...@@ -28,7 +28,7 @@ varnish v1 -vcl+backend {
zipflow.meta(name="top"); zipflow.meta(name="top");
zipflow.subreq("/file1"); zipflow.subreq("/file1");
zipflow.subreq("/file2"); zipflow.subreq("/file2");
set resp.filters += " zipflow"; set resp.filters = "zipflow";
return (deliver); return (deliver);
} }
} -start } -start
......
...@@ -17,7 +17,7 @@ varnish v1 -vcl { ...@@ -17,7 +17,7 @@ varnish v1 -vcl {
zipflow.meta(name="top"); zipflow.meta(name="top");
zipflow.subreq("/file1"); zipflow.subreq("/file1");
zipflow.subreq("/file2"); zipflow.subreq("/file2");
set resp.filters += " zipflow"; set resp.filters = "zipflow";
} }
sub synth_sub { sub synth_sub {
......
...@@ -30,7 +30,7 @@ varnish v1 -vcl+backend { ...@@ -30,7 +30,7 @@ varnish v1 -vcl+backend {
if (req.http.mtime) { if (req.http.mtime) {
zipflow.meta(mtime=std.time(req.http.mtime)); zipflow.meta(mtime=std.time(req.http.mtime));
} }
set resp.filters += " zipflow"; set resp.filters = "zipflow";
} }
} -start } -start
......
...@@ -13,7 +13,7 @@ varnish v1 -vcl { ...@@ -13,7 +13,7 @@ varnish v1 -vcl {
if (zipflow.is_subreq()) { if (zipflow.is_subreq()) {
synthetic("file content"); synthetic("file content");
} else { } else {
set resp.filters += " zipflow"; set resp.filters = "zipflow";
zipflow.subreq("/file"); zipflow.subreq("/file");
synthetic(""); synthetic("");
} }
......
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