r5530 - trunk/varnish-cache/include

phk at varnish-cache.org phk at varnish-cache.org
Tue Nov 9 12:25:24 CET 2010


Author: phk
Date: 2010-11-09 12:25:24 +0100 (Tue, 09 Nov 2010)
New Revision: 5530

Modified:
   trunk/varnish-cache/include/http_headers.h
Log:
Don't supress Cache-Control headers in pass responses.



Modified: trunk/varnish-cache/include/http_headers.h
===================================================================
--- trunk/varnish-cache/include/http_headers.h	2010-11-09 10:53:57 UTC (rev 5529)
+++ trunk/varnish-cache/include/http_headers.h	2010-11-09 11:25:24 UTC (rev 5530)
@@ -62,7 +62,7 @@
 HTTPH("Age",			H_Age,			2, 0,						    HTTPH_A_INS,			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_R_FETCH,					0, 0)	/* RFC2616 14.9 */
+HTTPH("Cache-Control",		H_Cache_Control,	3, 3,               		    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