Commit 6cc6c642 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Missing set on req.backend_hint = ..

From Martin Boer on #varnish
parent fc2adf04
...@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment