Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-vslp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-vslp
Commits
df36795d
Commit
df36795d
authored
Jul 21, 2014
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tabify
parent
14ff8ae8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
v01004.vtc
src/tests/v01004.vtc
+6
-6
No files found.
src/tests/v01004.vtc
View file @
df36795d
...
@@ -37,16 +37,16 @@ varnish v1 -vcl+backend {
...
@@ -37,16 +37,16 @@ varnish v1 -vcl+backend {
sub vcl_recv {
sub vcl_recv {
if(req.url == "/1") {
if(req.url == "/1") {
set req.backend_hint = vd.backend_by_string("/eishoSu2");
set req.backend_hint = vd.backend_by_string("/eishoSu2");
} else if (req.url == "/2") {
} else if (req.url == "/2") {
set req.backend_hint = vd.backend_by_string_hash("/eishoSu2", SHA256);
set req.backend_hint = vd.backend_by_string_hash("/eishoSu2", SHA256);
} else if (req.url == "/3") {
} else if (req.url == "/3") {
set req.http.X-Hash = "/oob3dahS";
set req.http.X-Hash = "/oob3dahS";
call recv_sub;
call recv_sub;
} else if (req.url == "/null_by_string") {
} else if (req.url == "/null_by_string") {
set req.backend_hint = vd.backend_by_string(req.http.NonExistent);
set req.backend_hint = vd.backend_by_string(req.http.NonExistent);
} else if (req.url == "/null_by_string_hash") {
} else if (req.url == "/null_by_string_hash") {
set req.backend_hint = vd.backend_by_string_hash(req.http.NonExistent, SHA256);
set req.backend_hint = vd.backend_by_string_hash(req.http.NonExistent, SHA256);
}
}
return(pass);
return(pass);
}
}
...
...
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