You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Wolfgang Buczolich <wo...@axus.at> on 2006/09/06 09:43:55 UTC

HTTP/0.9 requests on Win2k

Hello

 

Apache Tomcat doesn't seem to act normally on http-request when running on a
Windows 2000 pc. Following problem occurs:

The request (HTTP/0.9) looks like follows:

GET /\r\n

Tomcat then waits for exactly 20 seconds, maybe for more header-data to
arrive, and then sends the correct HTTP/0.9 response.

Also HTTP/1.0 request doesn't work as long as no optional header-option is
sent.

This example doesn't work:

            GET / HTTP/1.0\r\n

            \r\n

Tomcat also waits for 20 seconds but then returns the correct HTTP/1.1
response.

This example works:

            GET / HTTP/1.0\r\n

            Host: temp\r\n

            \r\n

The optional header information "Host" can be replaced with every other
header-info. Tomcat responses immediately.

 

These problems don't occur on WinXP Professional systems, and they don't
occur always, but most of the time (9 from 10 requests don't work). Hope
someone can give me an explanation for this.

 

System Info:

            Win 2000 5.00.2195 ServicePack3

            Tomcat 5.5.17

            1.5.0_07-b03

            

best regards

Wolfgang