On 03/03/2014 21:04, Konstantin Preißer wrote:
>> -----Original Message-----
>> From: Konstantin Preißer [mailto:kpreis...@apache.org]
>> Sent: Monday, March 3, 2014 5:38 PM
> 
>> When sending the following request to IIS:
>> POST /TestWebapp/Servlet HTTP/1.1
>> Host: localhost
>> Connection: keep-alive
>> Content-Length: 0
>>
>> Then the ISAPI redirector sends the following AJP packet to Tomcat:
>> [...]
>>
>> To me, this looks ok - as the request body is 0 (known in advance) AFAIK only
>> the JK_AJP13_FORWARD_REQUEST packet should be sent to Tomcat.
>> Note, that the "Content-Length: 0" header is correctly included in the 
>> packet:
>> "A0 08 00 01 30" (0xA008 represents "Content-Length").
> 
> I tested this now also with Tomcat 8.0.0-RC1 and 8.0.0-RC2, and found that 
> the problem also happens with RC2 but not with RC1:
> With RC1, s.read() immediately returns so that the read byte count is 0, 
> whereas with RC2, Tomcat hangs after sending the request.
> 
> Unfortunately I was not able to find which revision introduced the change, as 
> I was not able to build earlier Tomcat trunk SVN revisions - I always get the 
> following error when running "ant" (this one was with r1518381):

This hasn't been forgotten. I have a fix for this that I will commit
shortly that will be in 8.0.4 onwards.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to