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
8993e19b
Commit
8993e19b
authored
Sep 08, 2015
by
Lasse Karstensen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 4.1
parents
73daf171
bf0f54d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
c00070.vtc
bin/varnishtest/tests/c00070.vtc
+1
-4
c00071.vtc
bin/varnishtest/tests/c00071.vtc
+1
-1
No files found.
bin/varnishtest/tests/c00070.vtc
View file @
8993e19b
...
...
@@ -15,7 +15,6 @@ varnish v1 -vcl+backend {
}
sub vcl_deliver {
set resp.http.free_client = debug.workspace_free(client);
set resp.http.free_session = debug.workspace_free(session);
set resp.http.free_thread = debug.workspace_free(thread);
...
...
@@ -39,8 +38,7 @@ client c1 {
rxresp
expect resp.http.overflowed == "false"
expect resp.http.free_client > 57000
expect resp.http.free_backend > 57000
expect resp.http.free_backend > 9000
expect resp.http.free_session > 250
expect resp.http.free_thread > 2000
} -run
...
...
@@ -52,4 +50,3 @@ client c2 {
} -run
logexpect l1 -wait
bin/varnishtest/tests/c00071.vtc
View file @
8993e19b
...
...
@@ -17,7 +17,7 @@ varnish v1 -vcl+backend {
debug.workspace_allocate(client, debug.workspace_free(client) - 200);
if (req.url ~ "/bar") {
set resp.http.x-foo = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
set resp.http.x-foo = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
";
}
else if (req.url ~ "/baz") {
set resp.http.x-foo = regsub(req.url, "baz", "baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaz");
...
...
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