r5399 - trunk/varnish-cache/bin/varnishd

phk at varnish-cache.org phk at varnish-cache.org
Mon Oct 4 17:24:33 CEST 2010


Author: phk
Date: 2010-10-04 17:24:33 +0200 (Mon, 04 Oct 2010)
New Revision: 5399

Modified:
   trunk/varnish-cache/bin/varnishd/default.vcl
Log:
Handle "Vary: *" headers by sending the object to pass, there really
isn't anything else we can do sensibly.

Fixes: #787



Modified: trunk/varnish-cache/bin/varnishd/default.vcl
===================================================================
--- trunk/varnish-cache/bin/varnishd/default.vcl	2010-10-04 15:06:23 UTC (rev 5398)
+++ trunk/varnish-cache/bin/varnishd/default.vcl	2010-10-04 15:24:33 UTC (rev 5399)
@@ -111,6 +111,9 @@
     if (beresp.http.Set-Cookie) {
         return (pass);
     }
+    if (beresp.http.Vary == "*") {
+        return (pass);
+    }
     return (deliver);
 }
 




More information about the varnish-commit mailing list