[master] dc8b9fc Restrict client.ip and client.identity to req processing to avoid the predictable panic if they are accessed from the backend side.
Poul-Henning Kamp
phk at FreeBSD.org
Fri Mar 28 08:31:01 CET 2014
commit dc8b9fc9b309106321f2cdd1793a68f36f5f0287
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Fri Mar 28 07:30:17 2014 +0000
Restrict client.ip and client.identity to req processing to avoid
the predictable panic if they are accessed from the backend side.
diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index a118513..06ed058 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -159,15 +159,15 @@ returns =(
sp_variables = [
('client.ip',
'IP',
- ( 'both',),
+ ( 'client',),
( ), """
The client's IP address.
"""
),
('client.identity',
'STRING',
- ( 'both',),
- ( 'both',), """
+ ( 'client',),
+ ( 'client',), """
Identification of the client, used to load balance
in the client director.
"""
More information about the varnish-commit
mailing list