Re: missing Content-Lenght header

2007-07-02 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], 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
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: missing Content-Lenght header

2007-07-02 Thread Denis Ahrens

On 02.07.2007, at 09:34, Poul-Henning Kamp wrote:

 In message [EMAIL PROTECTED], 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 ?

Your patch is now running for 9h and I have not
seen the problem again. So I think it works.

Denis

___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: missing Content-Lenght header

2007-06-30 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Denis Ahrens writes
:

I have varnish head running and everything now looks good.

How recent is that copy ?  I (belive I) fixed that bug
this week.

-- 
Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer   | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: missing Content-Lenght header

2007-06-30 Thread Dag-Erling Smørgrav
Denis Ahrens [EMAIL PROTECTED] writes:
 svnversion says 1589M. you made no changes after that.

Are you sure your tree is up-to-date and you rebuilt everything?  r1584
should have fixed that bug.

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: missing Content-Lenght header

2007-06-30 Thread Denis Ahrens

On 30.06.2007, at 23:45, Dag-Erling Smørgrav wrote:

 Denis Ahrens [EMAIL PROTECTED] writes:
 svnversion says 1589M. you made no changes after that.

 Are you sure your tree is up-to-date and you rebuilt everything?   
 r1584
 should have fixed that bug.

I made the binary one day later, but maybe I forgot to checkout before.
Anyway, I made a new one from HEAD and will look at it and report
back when it happens again.

Denis

PS: I still need to add --prefix=/usr/local to configure. Do I need to  
remove
some files which autogen.sh builds new then?

___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: missing Content-Lenght header

2007-06-30 Thread Dag-Erling Smørgrav
Denis Ahrens [EMAIL PROTECTED] writes:
 PS: I still need to add --prefix=/usr/local to configure. Do I need to
 remove some files which autogen.sh builds new then?

I'm not sure I understand what you mean - normally, you run autogen.sh
first, then ./configure with whatever options you want.  However, if
you're running on FreeBSD, /usr/local is the default prefix; there is no
need to specify it explicitly.

You can also use autogen.des, which runs autogen.sh *and* configure with
options useful for development and debugging; it sets the prefix to
/opt/varnish.

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc