You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/10/03 21:45:30 UTC

DO NOT REPLY [Bug 3949] New: - Document with content-length of 0 results in resend headers

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3949>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3949

Document with content-length of 0  results in resend headers

           Summary: Document with content-length of 0  results in resend
                    headers
           Product: Tomcat 4
           Version: 4.0 Release Candidate 2
          Platform: Sun
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connectors
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: jean-christophe.collet@sun.com
                CC: jian.cai@sun.com


When Tomcat reaches the idle timeout on a persistent connection
it seems to return an additional HTTP response just prior to
closing the connection. Observed with telnet :-


% telnet tomcat 8080
Trying 10.5.21.109...
Connected to tomcat.
Escape character is '^]'.
GET /JAXPREP/familytree.dtd HTTP/1.1

HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 0
Date: Mon, 01 Oct 2001 12:07:13 GMT
Server: Apache Tomcat/4.0-rc2 (HTTP/1.1 Connector)
Last-Modified: Thu, 20 Sep 2001 23:02:56 GMT
ETag: "0-1001026976000"

<<<<<<<<delay for 60 seconds>>>>>>>>>>>

HTTP/1.1 200 OK
Content-Length: 0
Date: Mon, 01 Oct 2001 12:08:13 GMT
Server: Apache Tomcat/4.0-rc2 (HTTP/1.1 Connector)

Connection closed by foreign host.