r254 - trunk/varnish-cache/include

phk at projects.linpro.no phk at projects.linpro.no
Wed Jun 28 18:57:07 CEST 2006


Author: phk
Date: 2006-06-28 18:57:07 +0200 (Wed, 28 Jun 2006)
New Revision: 254

Modified:
   trunk/varnish-cache/include/http_headers.h
Log:
Don't pass Content-Lenght through, we build it ourselves


Modified: trunk/varnish-cache/include/http_headers.h
===================================================================
--- trunk/varnish-cache/include/http_headers.h	2006-06-28 16:20:14 UTC (rev 253)
+++ trunk/varnish-cache/include/http_headers.h	2006-06-28 16:57:07 UTC (rev 254)
@@ -27,7 +27,7 @@
 HTTPH("Connection",		H_Connection,		3, 3, 0, 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 */
-HTTPH("Content-Length",		H_Content_Length,	2, 0, 0, 0, 0)	/* RFC2616 14.13 */
+HTTPH("Content-Length",		H_Content_Length,	2, 2, 0, 0, 0)	/* RFC2616 14.13 */
 HTTPH("Content-Location",	H_Content_Location,	2, 0, 0, 0, 0)  /* RFC2616 14.14 */
 HTTPH("Content-MD5",		H_Content_MD5,		2, 0, 0, 0, 0)  /* RFC2616 14.15 */
 HTTPH("Content-Range",		H_Content_Range,	2, 0, 0, 0, 0)  /* RFC2616 14.16 */




More information about the varnish-commit mailing list