From f463ebce56c41cb6d58eda69a126e8e42fecedd7 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 11 Aug 2006 07:35:33 +0000 Subject: [PATCH] Don't filter Cache-Control out in replies from backend. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@797 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/include/http_headers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/include/http_headers.h b/varnish-cache/include/http_headers.h index c2ddeea1..84aa7338 100644 --- a/varnish-cache/include/http_headers.h +++ b/varnish-cache/include/http_headers.h @@ -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 */ -- 2.39.5