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
1c15989a
Commit
1c15989a
authored
Jan 22, 2019
by
Poul-Henning Kamp
Committed by
Dridi Boukelmoune
Jul 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better coverage of random director
parent
81c726ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
d00002.vtc
bin/varnishtest/tests/d00002.vtc
+2
-0
No files found.
bin/varnishtest/tests/d00002.vtc
View file @
1c15989a
...
@@ -9,6 +9,7 @@ server s1 {
...
@@ -9,6 +9,7 @@ server s1 {
varnish v1 -vcl+backend {
varnish v1 -vcl+backend {
import directors;
import directors;
import std;
sub vcl_init {
sub vcl_init {
new foo = directors.random();
new foo = directors.random();
...
@@ -22,6 +23,7 @@ varnish v1 -vcl+backend {
...
@@ -22,6 +23,7 @@ varnish v1 -vcl+backend {
sub vcl_backend_response {
sub vcl_backend_response {
set beresp.http.where = bereq.backend + "-->" + beresp.backend;
set beresp.http.where = bereq.backend + "-->" + beresp.backend;
set beresp.http.health = std.healthy(foo.backend());
}
}
} -start
} -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