r4385 - trunk/varnish-cache/man

tfheen at projects.linpro.no tfheen at projects.linpro.no
Mon Dec 14 09:10:57 CET 2009


Author: tfheen
Date: 2009-12-14 09:10:57 +0100 (Mon, 14 Dec 2009)
New Revision: 4385

Modified:
   trunk/varnish-cache/man/vcl.7so
Log:
Fix Set-Cookie vs Cookie confusion and old keywords.

Fixes #600

Modified: trunk/varnish-cache/man/vcl.7so
===================================================================
--- trunk/varnish-cache/man/vcl.7so	2009-12-03 11:54:51 UTC (rev 4384)
+++ trunk/varnish-cache/man/vcl.7so	2009-12-14 08:10:57 UTC (rev 4385)
@@ -369,8 +369,8 @@
 .\" vcl_hash
 .It Cm vcl_hash
 Use
-.Cm req.hash += req.http.Set-Cookie
-or similar to include the Set-Cookie HTTP header in the hash string.
+.Cm req.hash += req.http.Cookie
+or similar to include the Cookie HTTP header in the hash string.
 The
 .Cm vcl_hash
 subroutine may terminate with one of the following keywords:
@@ -669,7 +669,7 @@
 
 sub vcl_fetch {
     if (obj.http.Set-Cookie) {
-        insert;
+        deliver;
     }
 }
 .Ed



More information about the varnish-commit mailing list