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
d3b8f34b
Commit
d3b8f34b
authored
May 19, 2014
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forgot to commit the test-case
parent
f5999765
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
0 deletions
+60
-0
r01478.vtc
bin/varnishtest/tests/r01478.vtc
+60
-0
No files found.
bin/varnishtest/tests/r01478.vtc
0 → 100644
View file @
d3b8f34b
varnishtest "panic due to hash_ignore_busy"
server s1 {
rxreq
txresp -nolen -hdr "Transfer-Encoding: chunked"
chunkedlen 10
delay .5
sema r1 sync 2
delay .5
chunkedlen 10
delay .5
sema r2 sync 2
delay .5
chunkedlen 10
delay .5
sema r3 sync 2
delay .5
chunkedlen 10
delay .5
sema r4 sync 2
delay .5
chunkedlen 10
delay .5
chunkedlen 0
} -start
varnish v1 -vcl+backend {
sub vcl_recv {
set req.hash_ignore_busy = true;
return(hash);
}
sub vcl_backend_response {
# we assume streaming for all objects as default:
set beresp.do_stream = true;
set beresp.ttl = 2s;
}
} -start
client c1 {
txreq -hdr "client: c1"
rxresp
} -start
sema r1 sync 2
client c2 {
txreq -hdr "client: c2"
sema r2 sync 2
rxresp
} -start
sema r3 sync 2
client c3 {
txreq -hdr "client: c3"
sema r4 sync 2
rxresp
} -start
client c1 -wait
client c2 -wait
client c3 -wait
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