[master] 76eb8d7 Use client.ip instead of client.identity
Federico G. Schwindt
fgsch at lodoss.net
Mon Nov 2 18:16:48 CET 2015
commit 76eb8d740ca97be24200cbf05f303952dfed194d
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Mon Nov 2 12:41:04 2015 +0000
Use client.ip instead of client.identity
Indentation while I'm here.
diff --git a/lib/libvmod_directors/vmod.vcc b/lib/libvmod_directors/vmod.vcc
index bb81751..02b5a3f 100644
--- a/lib/libvmod_directors/vmod.vcc
+++ b/lib/libvmod_directors/vmod.vcc
@@ -67,17 +67,17 @@ Example
$Method VOID .add_backend(BACKEND)
Description
- Add a backend to the round-robin director.
+ Add a backend to the round-robin director.
Example
- vdir.add_backend(backend1);
- vdir.add_backend(backend2);
+ vdir.add_backend(backend1);
+ vdir.add_backend(backend2);
$Method BACKEND .backend()
Description
- Pick a backend from the director.
+ Pick a backend from the director.
Example
- set req.backend_hint = vdir.backend();
+ set req.backend_hint = vdir.backend();
$Object fallback()
@@ -106,9 +106,9 @@ Example
$Method BACKEND .backend()
Description
- Pick a backend from the director.
+ Pick a backend from the director.
Example
- set req.backend_hint = vdir.backend();
+ set req.backend_hint = vdir.backend();
$Object random()
@@ -149,10 +149,10 @@ $Object hash()
Description
Create a hashing backend director.
- The director chooses the backend server by computing a hash/digest of
- the string given to .backend().
+ The director chooses the backend server by computing a hash/digest
+ of the string given to .backend().
- Commonly used with ``client.identity`` or a session cookie to get
+ Commonly used with ``client.ip`` or a session cookie to get
sticky sessions.
Example
More information about the varnish-commit
mailing list