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 2003/04/24 06:16:42 UTC

DO NOT REPLY [Bug 19264] New: - CoyoteConnector.java doesn't pass through serverSoTimeout

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=19264>.
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=19264

CoyoteConnector.java doesn't pass through serverSoTimeout

           Summary: CoyoteConnector.java doesn't pass through
                    serverSoTimeout
           Product: Tomcat 4
           Version: 4.1.24
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:Coyote HTTP/1.1
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: yatesmi@nortelnetworks.com


The initialize() method in CoyoteConnector.java does not call a 
setServerSoTimeout() on the ProtocolHandler. Meaning that the serverSoTimeout 
can not be set in the server.xml file. This means that the PoolTcpEndpoint 
(referenced by the Http11Protocol implementation of ProtocolHandler) class 
always uses 1000 milliseconds for the server socket timeout. 

The side effect of this is that server sockets time out every one second and 
that the this value is not configurable. Each server socket timing out throws a 
lot of garbage (especially when the secure connector is enabled).

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org