r797 - trunk/varnish-cache/include

phk at projects.linpro.no phk at projects.linpro.no
Fri Aug 11 09:35:33 CEST 2006


Author: phk
Date: 2006-08-11 09:35:33 +0200 (Fri, 11 Aug 2006)
New Revision: 797

Modified:
   trunk/varnish-cache/include/http_headers.h
Log:
Don't filter Cache-Control out in replies from backend.


Modified: trunk/varnish-cache/include/http_headers.h
===================================================================
--- trunk/varnish-cache/include/http_headers.h	2006-08-11 07:35:09 UTC (rev 796)
+++ trunk/varnish-cache/include/http_headers.h	2006-08-11 07:35:33 UTC (rev 797)
@@ -34,7 +34,7 @@
 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 */




More information about the varnish-commit mailing list