From: des Date: Tue, 21 Aug 2007 15:37:17 +0000 (+0000) Subject: Synchronize with bin/varnishd/mgt_vcc.c. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d01060990667ca3f111628ddb290fa102b83129;p=varnish Synchronize with bin/varnishd/mgt_vcc.c. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1916 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/etc/default.vcl b/varnish-cache/etc/default.vcl index a8886549..dfa50729 100644 --- a/varnish-cache/etc/default.vcl +++ b/varnish-cache/etc/default.vcl @@ -47,6 +47,8 @@ backend default { ## Called when entering an object into the cache # #sub vcl_hash { +# set req.hash += req.url; +# set req.hash += req.http.host; # hash; #} # diff --git a/varnish-cache/man/vcl.7 b/varnish-cache/man/vcl.7 index 996c0d34..2dfbda07 100644 --- a/varnish-cache/man/vcl.7 +++ b/varnish-cache/man/vcl.7 @@ -513,6 +513,8 @@ sub vcl_pass { } sub vcl_hash { + set req.hash += req.url; + set req.hash += req.http.host; hash; }