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()
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);
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