missing Content-Lenght header

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Jul 2 09:34:36 CEST 2007


In message <3C33EDA7-EE30-4017-B5FC-B9E87A22AA38 at zeno.org>, Denis Ahrens writes
:

>> Are you sure your tree is up-to-date and you rebuilt everything?   =
>
>> r1584
>> should have fixed that bug.
>
>Iam now running r1603 and it started to happen again
>
>13 ObjLostHeader c Content-Length:

Can you try this patch ?


Index: cache_backend.c
===================================================================
--- cache_backend.c	(revision 1604)
+++ cache_backend.c	(working copy)
@@ -337,6 +337,8 @@
 		AZ(close(vc->fd));
 	vc->fd = -1;
 	vc->backend = NULL;
+	WS_Reset(vc->http->ws);
+	WS_Reset(vc->http2->ws);
 	LOCK(&vbemtx);
 	TAILQ_INSERT_HEAD(&vbe_head, vc, list);
 	VSL_stats->backend_unused++;
-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list