Invalid content length, revisited

2004-10-15 Thread Rogier Peters
Guys, On 18/5 Joerg asked a question about invalid content length errors[1] due to readers. There is also a bug that is somewhat related[2], but it seems to be WONTFIX. I have the following case : generatorreader | | validator .. dtd | serializer In this case

Re: Invalid content length, revisited

2004-10-15 Thread Unico Hommes
Rogier Peters wrote: Guys, On 18/5 Joerg asked a question about invalid content length errors[1] due to readers. There is also a bug that is somewhat related[2], but it seems to be WONTFIX. The WONTFIX seems to apply to the original description of the bug only. There is a related issue

Re: Invalid content length, revisited

2004-10-15 Thread Unico Hommes
Unico Hommes wrote: Rogier Peters wrote: Guys, On 18/5 Joerg asked a question about invalid content length errors[1] due to readers. There is also a bug that is somewhat related[2], but it seems to be WONTFIX. The WONTFIX seems to apply to the original description of the bug only

Re: Invalid content length, revisited

2004-10-15 Thread Vadim Gritsenko
Unico Hommes wrote: Oh I see now. The ResourceReader also sets the content length on the response. It *really* shouldn't do that IMHO. Anybody know why it does that? I see that EnvironmentWrapper ignores set content length. And it has RequestWrapper. BUT IT DOES NOT HAVE ResponseWrapper! I

Re: Invalid content length, revisited

2004-10-15 Thread Unico Hommes
Vadim Gritsenko wrote: Unico Hommes wrote: Oh I see now. The ResourceReader also sets the content length on the response. It *really* shouldn't do that IMHO. Anybody know why it does that? I see that EnvironmentWrapper ignores set content length. And it has RequestWrapper. BUT IT DOES NOT HAVE

Re: Invalid content length, revisited

2004-10-15 Thread Unico Hommes
Vadim Gritsenko wrote: Unico Hommes wrote: Oh I see now. The ResourceReader also sets the content length on the response. It *really* shouldn't do that IMHO. Anybody know why it does that? I see that EnvironmentWrapper ignores set content length. And it has RequestWrapper. BUT IT DOES NOT HAVE

Re: Invalid content length, revisited

2004-10-15 Thread Vadim Gritsenko
Unico Hommes wrote: Vadim Gritsenko wrote: Unico Hommes wrote: Oh I see now. The ResourceReader also sets the content length on the response. It *really* shouldn't do that IMHO. Anybody know why it does that? I see that EnvironmentWrapper ignores set content length. And it has RequestWrapper.

Re: Invalid content length, revisited

2004-10-15 Thread Unico Hommes
Vadim Gritsenko wrote: Unico Hommes wrote: Vadim Gritsenko wrote: Unico Hommes wrote: Oh I see now. The ResourceReader also sets the content length on the response. It *really* shouldn't do that IMHO. Anybody know why it does that? I see that EnvironmentWrapper ignores set content length. And

Re: Invalid content length, revisited

2004-10-15 Thread Vadim Gritsenko
Unico Hommes wrote: Vadim Gritsenko wrote: Unico Hommes wrote: Vadim Gritsenko wrote: Unico Hommes wrote: Oh I see now. The ResourceReader also sets the content length on the response. It *really* shouldn't do that IMHO. Anybody know why it does that? I see that EnvironmentWrapper ignores set

Re: Invalid content length, revisited

2004-10-15 Thread Unico Hommes
Vadim Gritsenko wrote: Unico Hommes wrote: Vadim Gritsenko wrote: Unico Hommes wrote: Vadim Gritsenko wrote: Unico Hommes wrote: Oh I see now. The ResourceReader also sets the content length on the response. It *really* shouldn't do that IMHO. Anybody know why it does that? I see that

Re: invalid content length

2004-06-01 Thread Joerg Heinicke
On 21.05.2004 21:36, Joerg Heinicke wrote: Can anybody tell me what can cause the invalid content length? Found at least the reason: A stylesheet is imported via cocoon:/ and in this pipeline the stylesheet is *read* from disk, the ResourceReader also sets the content-length header, the 919 bytes

Re: invalid content length

2004-05-28 Thread Joerg Heinicke
cocoon.processPipelineTo(). Shouldn't this give hints on the root of the problem? Joerg On 21.05.2004 21:36, Joerg Heinicke wrote: On 18.05.2004 23:56, Joerg Heinicke wrote: Can anybody tell me what can cause the invalid content length? The first one is html serializer, the latter ones text serializer. Found

Re: invalid content length

2004-05-21 Thread Joerg Heinicke
On 18.05.2004 23:56, Joerg Heinicke wrote: Can anybody tell me what can cause the invalid content length? The first one is html serializer, the latter ones text serializer. Found at least the reason: A stylesheet is imported via cocoon:/ and in this pipeline the stylesheet is *read* from disk

invalid content length

2004-05-18 Thread Joerg Heinicke
Can anybody tell me what can cause the invalid content length? The first one is html serializer, the latter ones text serializer. Joerg 23:45:16.828 WARN!! Invalid length: Content-Length=1043 written=798 for http://127.0.0.1:/xfaces/test-html-mozilla-skin-simple 23:45:18.000 WARN!! Invalid

Re: invalid content length

2004-05-18 Thread Ralph Goers
We were seeing this when putting up an error page. Mysteriously, we changed our error page and it went away. No idea why. Ralph Joerg Heinicke said: Can anybody tell me what can cause the invalid content length? The first one is html serializer, the latter ones text serializer. Joerg 23

Re: invalid content length

2004-05-18 Thread leo leonid
On 18.05.2004, at 23:56, Joerg Heinicke wrote: Can anybody tell me what can cause the invalid content length? The first one is html serializer, the latter ones text serializer. Joerg another one is http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17370 /leo