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
9c7abda7
Commit
9c7abda7
authored
Jan 27, 2020
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parameter canary vtc: Get a better idea of workspace usage
related to vtest failures
parent
b9c5cb57
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
v00004.vtc
bin/varnishtest/tests/v00004.vtc
+5
-1
No files found.
bin/varnishtest/tests/v00004.vtc
View file @
9c7abda7
...
...
@@ -140,6 +140,7 @@ server s1 {
varnish v1 -vcl+backend {
import std;
import debug;
import vtc;
sub recv0 { call recv1; std.log("STK recv0 " + debug.stk()); }
sub recv1 { call recv2; std.log("STK recv1 " + debug.stk()); }
...
...
@@ -151,11 +152,14 @@ varnish v1 -vcl+backend {
sub recv7 { call recv8; std.log("STK recv7 " + debug.stk()); }
sub recv8 { call recv9; std.log("STK recv8 " + debug.stk()); }
sub recv9 {
std.log("STK recv9 " + debug.stk());
std.log("STK recv9 " + debug.stk() + " WS " +
vtc.workspace_free(client));
set req.http.regex = regsub(req.http.cookie, "(.*)", "\1\1\1\1\1\1\1\1");
std.log("WS " + vtc.workspace_free(client));
# hey geoff, this is deliberate
set req.http.regex = regsub(req.http.regex,
"(.*)(.{5})(.{6})(.{7})(.{8})", "/\5\4\3\2\1");
std.log("WS " + vtc.workspace_free(client));
std.log("REGEX recv9 " + req.http.regex);
}
...
...
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