Commit 4b03546a authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

vtc: Stabilize c69

Latch the barrier _after_ reading resp.is_streaming.
parent 3e7d376f
......@@ -27,10 +27,10 @@ varnish v1 -vcl+backend {
set resp.http.streaming = resp.is_streaming;
}
sub vcl_deliver {
set resp.http.streaming = resp.is_streaming;
if (obj.hits == 0) {
vtc.barrier_sync("${b2_sock}");
}
set resp.http.streaming = resp.is_streaming;
}
} -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