r1916 - in trunk/varnish-cache: etc man
des at projects.linpro.no
des at projects.linpro.no
Tue Aug 21 17:37:17 CEST 2007
Author: des
Date: 2007-08-21 17:37:17 +0200 (Tue, 21 Aug 2007)
New Revision: 1916
Modified:
trunk/varnish-cache/etc/default.vcl
trunk/varnish-cache/man/vcl.7
Log:
Synchronize with bin/varnishd/mgt_vcc.c.
Modified: trunk/varnish-cache/etc/default.vcl
===================================================================
--- trunk/varnish-cache/etc/default.vcl 2007-08-21 15:36:59 UTC (rev 1915)
+++ trunk/varnish-cache/etc/default.vcl 2007-08-21 15:37:17 UTC (rev 1916)
@@ -47,6 +47,8 @@
## Called when entering an object into the cache
#
#sub vcl_hash {
+# set req.hash += req.url;
+# set req.hash += req.http.host;
# hash;
#}
#
Modified: trunk/varnish-cache/man/vcl.7
===================================================================
--- trunk/varnish-cache/man/vcl.7 2007-08-21 15:36:59 UTC (rev 1915)
+++ trunk/varnish-cache/man/vcl.7 2007-08-21 15:37:17 UTC (rev 1916)
@@ -513,6 +513,8 @@
}
sub vcl_hash {
+ set req.hash += req.url;
+ set req.hash += req.http.host;
hash;
}
More information about the varnish-commit
mailing list