[master] 264bc4c s/obj.cookie/obj.http.set-cookie/
Tollef Fog Heen
tfheen at varnish-cache.org
Mon Dec 3 11:58:45 CET 2012
commit 264bc4c704618475f6170625a17d72d7e0fde40b
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date: Fri Nov 23 14:54:12 2012 +0100
s/obj.cookie/obj.http.set-cookie/
diff --git a/bin/varnishd/cache/cache_ban.c b/bin/varnishd/cache/cache_ban.c
index 95c655e..6e532fa 100644
--- a/bin/varnishd/cache/cache_ban.c
+++ b/bin/varnishd/cache/cache_ban.c
@@ -33,7 +33,7 @@
*
* req.url == "/foo"
* req.url ~ ".iso" && obj.size > 10MB
- * req.http.host ~ "web1.com" && obj.set-cookie ~ "USER=29293"
+ * req.http.host ~ "web1.com" && obj.http.set-cookie ~ "USER=29293"
*
* We make the "&&" mandatory from the start, leaving the syntax space
* for latter handling of "||" as well.
diff --git a/doc/sphinx/reference/varnish-cli.rst b/doc/sphinx/reference/varnish-cli.rst
index 787c09d..88b05fe 100644
--- a/doc/sphinx/reference/varnish-cli.rst
+++ b/doc/sphinx/reference/varnish-cli.rst
@@ -306,7 +306,7 @@ Example: Ban all documents where the serving host is "example.com"
or "www.example.com", and where the Set-Cookie header received from
the backend contains "USERID=1663"::
- req.http.host ~ "^(?i)(www\.)example.com$" && obj.set-cookie ~ "USERID=1663"
+ req.http.host ~ "^(?i)(www\.)example.com$" && obj.http.set-cookie ~ "USERID=1663"
SEE ALSO
========
More information about the varnish-commit
mailing list