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
53a842bc
Commit
53a842bc
authored
Aug 04, 2011
by
Kristian Lyngstol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test-case for #971
parent
627964a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
r00971.vtc
bin/varnishtest/tests/r00971.vtc
+22
-0
No files found.
bin/varnishtest/tests/r00971.vtc
0 → 100644
View file @
53a842bc
varnishtest "Test DNS director order"
varnish v1 -vcl+backend {
backend test {
.host = "192.168.0.1";
}
director foo dns {
{ .backend = { .host = "127.0.0.1";} }
}
sub vcl_recv {
set req.backend = foo;
if (req.http.x-aa) {
set req.backend = test;
}
}
} -start
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