[master] 6cc6c64 Missing set on req.backend_hint = ..
Federico G. Schwindt
fgsch at lodoss.net
Tue Apr 1 14:17:58 CEST 2014
commit 6cc6c642a51420979bffb2bd8e82f339023b6751
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Tue Apr 1 13:17:23 2014 +0100
Missing set on req.backend_hint = ..
From Martin Boer on #varnish
diff --git a/lib/libvmod_directors/vmod.vcc b/lib/libvmod_directors/vmod.vcc
index 4815c43..9b5732a 100644
--- a/lib/libvmod_directors/vmod.vcc
+++ b/lib/libvmod_directors/vmod.vcc
@@ -76,7 +76,7 @@ $Method BACKEND .backend()
Description
Picks a backend from the director.
Example
- req.backend_hint = rrdir.backend();
+ set req.backend_hint = rrdir.backend();
$Object fallback()
@@ -100,7 +100,7 @@ $Method BACKEND .backend()
Description
Picks a backend from the director.
Example
- req.backend_hint = rrdir.backend();
+ set req.backend_hint = rrdir.backend();
$Object random()
@@ -126,7 +126,7 @@ $Method BACKEND .backend()
Description
Picks a backend from the director.
Example
- req.backend_hint = rrdir.backend();
+ set req.backend_hint = rrdir.backend();
$Object hash()
@@ -156,5 +156,5 @@ Description
strings provided to pick the backend.
Example
# 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);
More information about the varnish-commit
mailing list