Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
4b03546a
Commit
4b03546a
authored
Jun 22, 2021
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vtc: Stabilize c69
Latch the barrier _after_ reading resp.is_streaming.
parent
3e7d376f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
c00069.vtc
bin/varnishtest/tests/c00069.vtc
+1
-1
No files found.
bin/varnishtest/tests/c00069.vtc
View file @
4b03546a
...
@@ -27,10 +27,10 @@ varnish v1 -vcl+backend {
...
@@ -27,10 +27,10 @@ varnish v1 -vcl+backend {
set resp.http.streaming = resp.is_streaming;
set resp.http.streaming = resp.is_streaming;
}
}
sub vcl_deliver {
sub vcl_deliver {
set resp.http.streaming = resp.is_streaming;
if (obj.hits == 0) {
if (obj.hits == 0) {
vtc.barrier_sync("${b2_sock}");
vtc.barrier_sync("${b2_sock}");
}
}
set resp.http.streaming = resp.is_streaming;
}
}
} -start
} -start
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment