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
28ece2a0
Commit
28ece2a0
authored
May 18, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to make this test more stable under load.
parent
dd4c1ed0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
b00021.vtc
bin/varnishtest/tests/b00021.vtc
+12
-4
No files found.
bin/varnishtest/tests/b00021.vtc
View file @
28ece2a0
...
...
@@ -5,13 +5,13 @@ feature SO_RCVTIMEO_WORKS
server s1 {
rxreq
send "HTTP/1.1 200 Ok\r\nConnection: close\r\n\r\n"
delay
1.5
delay
4.0
send "Baba\n"
} -start
varnish v1 -vcl+backend {
sub vcl_miss {
set bereq.between_bytes_timeout =
1
s;
set bereq.between_bytes_timeout =
2
s;
}
} -start
...
...
@@ -24,14 +24,22 @@ client c1 {
server s1 {
rxreq
send "HTTP/1.1 200 Ok\r\nConnection: close\r\n\r\n"
delay
0.5
delay
1.0
send "Baba\n"
delay 0.5
delay 1.0
send "Baba\n"
delay 1.0
send "Baba\n"
delay 1.0
send "Baba\n"
delay 1.0
send "Baba\n"
} -start
client c1 {
txreq
timeout 10
rxresp
expect resp.status == 200
expect resp.bodylen == 25
} -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