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
6cc6c642
Commit
6cc6c642
authored
Apr 01, 2014
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missing set on req.backend_hint = ..
From Martin Boer on #varnish
parent
fc2adf04
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vmod.vcc
lib/libvmod_directors/vmod.vcc
+4
-4
No files found.
lib/libvmod_directors/vmod.vcc
View file @
6cc6c642
...
@@ -76,7 +76,7 @@ $Method BACKEND .backend()
...
@@ -76,7 +76,7 @@ $Method BACKEND .backend()
Description
Description
Picks a backend from the director.
Picks a backend from the director.
Example
Example
req.backend_hint = rrdir.backend();
set
req.backend_hint = rrdir.backend();
$Object fallback()
$Object fallback()
...
@@ -100,7 +100,7 @@ $Method BACKEND .backend()
...
@@ -100,7 +100,7 @@ $Method BACKEND .backend()
Description
Description
Picks a backend from the director.
Picks a backend from the director.
Example
Example
req.backend_hint = rrdir.backend();
set
req.backend_hint = rrdir.backend();
$Object random()
$Object random()
...
@@ -126,7 +126,7 @@ $Method BACKEND .backend()
...
@@ -126,7 +126,7 @@ $Method BACKEND .backend()
Description
Description
Picks a backend from the director.
Picks a backend from the director.
Example
Example
req.backend_hint = rrdir.backend();
set
req.backend_hint = rrdir.backend();
$Object hash()
$Object hash()
...
@@ -156,5 +156,5 @@ Description
...
@@ -156,5 +156,5 @@ Description
strings provided to pick the backend.
strings provided to pick the backend.
Example
Example
# pick a backend based on the cookie header from the client
# pick a backend based on the cookie header from the client
req.backend_hint = hdir.backend(req.http.cookie);
set
req.backend_hint = hdir.backend(req.http.cookie);
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