tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Preißer <>
Subject RE: Tomcat 8.0.3 hangs when ISAPI redirector sends an AJP request without request body
Date Mon, 03 Mar 2014 21:04:06 GMT
> -----Original Message-----
> From: Konstantin Preißer []
> 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, 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):


C:\Users\Name\Desktop\Tomcat\tomcat\trunk\build.xml:2481: The following error occurred while
executing this line:
C:\Users\Name\Desktop\Tomcat\tomcat\trunk\build.xml:2685: the archive file.tar.gz doesn't

Konstantin Preißer

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

View raw message