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

http://issues.apache.org/bugzilla/show_bug.cgi?id=38485

           Summary: connectionTimeout parameter ignored on HTTP Connector
           Product: Tomcat 5
           Version: 5.5.14
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connector:HTTP
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


The HTTP Connector on 5.5.15 appears to ignore the connectionTimeout parameter.
Connection s timeout after 60 seconds, regardless of the configured setting.
Here's a sample configurtion:

<Server port="8005" shutdown="SHUTDOWN">
<Service name="Catalina">
<Connector port="8080" connectionTimeout="10000" />
<Engine name="Catalina" defaultHost="localhost">
<Host name="localhost" appBase="webapps">
<Valve className="org.apache.catalina.valves.AccessLogValve"
     prefix="localhost_access_log." suffix=".txt"
     pattern="common"/>
<Logger className="org.apache.catalina.logger.FileLogger"
        directory="logs"  prefix="localhost_log." suffix=".txt"
        timestamp="true"/>
</Host>
</Engine>
</Service>
</Server>

Running that configuration on a WinXP machine with JDK 1.5.0_06.

If I telnet to the machine, on the connector port, it times out after one 
minute.


[EMAIL PROTECTED]> time telnet emp00 8080
Trying 192.168.0.254...
Connected to emp00.
Escape character is '^]'.
Connection closed by foreign host.

real    1m0.568s
user    0m0.016s
sys     0m0.008s


I noticed this because I was looking at the manager application on my server,
and I noticed it was taking KeepAlive (State K) threads 60 seconds to revert to
Ready (R).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to