tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hannah Li <>
Subject Re: AW: JK2 AJP13 and Content-Length
Date Tue, 27 Jul 2004 14:06:36 GMT
This has been bother me for quite some time and I have searched and 
googled everywhere but can not find an answer. I just want to make sure 
whether AJPv13 reads request body sent in chunks (no Content-Length in 
header). If AJPv13 does handle it, I may need to find some other causes 
like I may not have IIS configured right, etc.

Gunnar Pörschke wrote:

>Hello Hannah,
>The header has a content - lengh, but don't ask me what size :-( I'm facing
>nearly the same problem. And I stuck on the doc as well..
>You need to set the content lengh, but you need to set this lengh. I didn't
>set the lengh and I had trouble while post command (file upload). 
>(You'll not get this problem without ajpv13)
>As soon as I vahe more information about that, I 'll post it.
>-----Ursprüngliche Nachricht-----
>Von: Hannah Li [] 
>Gesendet: Dienstag, 27. Juli 2004 09:07
>Betreff: JK2 AJP13 and Content-Length
>In AJPv13 doc, there is a note:
>*Note: *The *content-length* header is extremely important. If it is present
>and non-zero, the container assumes that the request has a body (a POST
>request, for example), and immediately reads a separate packet off the input
>stream to get that body.
>Does it mean the request header has to have Content-Length specified in
>order to get the request body? In my program, I have to send requests which
>contains Transfer-Encoding: chunked in the header (the request is forwarded
>from IIS5 to Tomcat4.1.30 by mod_jk2-2.0.4). This means my request header
>does not have Content-Length. How can I get the request body using AJP13?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message