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
6c0eb3d5
Commit
6c0eb3d5
authored
Sep 01, 2014
by
Poul-Henning Kamp
Committed by
Lasse Karstensen
Sep 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resurrect this test-case
parent
30f2d7ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
r00979.vtc
bin/varnishtest/tests/r00979.vtc
+31
-0
No files found.
bin/varnishtest/tests/r00979.vtc
0 → 100644
View file @
6c0eb3d5
varnishtest "r00979.vtc Test restart when do_stream in vcl_deliver"
server s1 {
rxreq
txresp -status 200 -gzipbody "1"
accept
rxreq
txresp -status 200 -body "11"
} -start
varnish v1 -vcl+backend {
sub vcl_backend_response {
set beresp.do_stream = true;
set beresp.uncacheable = true;
}
sub vcl_deliver {
if (req.restarts == 0) {
return (restart);
}
}
} -start
varnish v1 -cliok "param.set debug +syncvsl"
client c1 {
txreq
rxresp
expect resp.status == 200
expect resp.bodylen == 2
} -run
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