From 2d01060990667ca3f111628ddb290fa102b83129 Mon Sep 17 00:00:00 2001 From: des Date: Tue, 21 Aug 2007 15:37:17 +0000 Subject: [PATCH] Synchronize with bin/varnishd/mgt_vcc.c. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1916 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/etc/default.vcl | 2 ++ varnish-cache/man/vcl.7 | 2 ++ 2 files changed, 4 insertions(+) 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; } -- 2.39.5