]> err.no Git - varnish/commitdiff
Don't filter Cache-Control out in replies from backend.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 11 Aug 2006 07:35:33 +0000 (07:35 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 11 Aug 2006 07:35:33 +0000 (07:35 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@797 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/include/http_headers.h

index c2ddeea1edf48feb553d9f6a28c2e190df9c72c2..84aa733818529fa6a9189267f48042ab8e413f4e 100644 (file)
@@ -34,7 +34,7 @@ HTTPH("Accept-Ranges",                H_Accept_Ranges,        2, 3, HTTPH_R_PASS|HTTPH_A_PASS|HTTPH_R
 HTTPH("Age",                   H_Age,                  2, 0, 0, 0, 0)  /* RFC2616 14.6 */
 HTTPH("Allow",                 H_Allow,                2, 0, 0, 0, 0)  /* RFC2616 14.7 */
 HTTPH("Authorization",         H_Authorization,        1, 0, 0, 0, 0)  /* RFC2616 14.8 */
-HTTPH("Cache-Control",         H_Cache_Control,        3, 3, HTTPH_R_PASS|HTTPH_A_PASS|HTTPH_R_FETCH|HTTPH_A_INS, 0, 0)        /* RFC2616 14.9 */
+HTTPH("Cache-Control",         H_Cache_Control,        3, 3, HTTPH_R_PASS|HTTPH_R_FETCH, 0, 0) /* RFC2616 14.9 */
 HTTPH("Connection",            H_Connection,           3, 3, HTTPH_R_PASS|HTTPH_A_PASS|HTTPH_R_FETCH|HTTPH_A_INS, 0, 0)        /* RFC2616 14.10 */
 HTTPH("Content-Encoding",      H_Content_Encoding,     2, 0, 0, 0, 0)  /* RFC2616 14.11 */
 HTTPH("Content-Langugae",      H_Content_Language,     2, 0, 0, 0, 0)  /* RFC2616 14.12 */