head	1.2;
access;
symbols
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1;
locks; strict;
comment	@# @;


1.2
date	2011.02.17.10.32.10;	author des;	state dead;
branches;
next	1.1;

1.1
date	2010.11.08.12.06.02;	author des;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Upgrade to 2.1.5.
@
text
@Index: bin/varnishd/cache_fetch.c
===================================================================
--- bin/varnishd/cache_fetch.c	(revision 5460)
+++ bin/varnishd/cache_fetch.c	(revision 5461)
@@@@ -552,9 +552,11 @@@@
 		assert(uu == sp->obj->len);
 	}
 
-	if (mklen > 0)
+	if (mklen > 0) {
+		http_Unset(sp->obj->http, H_Content_Length);
 		http_PrintfHeader(sp->wrk, sp->fd, sp->obj->http,
 		    "Content-Length: %u", sp->obj->len);
+	}
 
 	if (http_HdrIs(hp, H_Connection, "close"))
 		cls = 1;
@


1.1
log
@Add upstream patch r5461.
@
text
@@

