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

Misleading comment in server.xml

           Summary: Misleading comment in server.xml
           Product: Tomcat 4
           Version: 4.1.7
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Connector:Coyote HTTP/1.1
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In server.xml is stated that:
<!-- Note : To disable connection timeouts, set connectionTimeout value to -1 --
>
That is wrong. If I specify -1 as timeout tomcat generates exception "socket 
timeout cannot be negative" on JDK 1.4. To disable connection timeout user have 
to specify 0. It is stated in JDK 1.4 java.net.Socket setSoTimeout. I test it - 
it works. I think that is applicable for all versions, all connectors etc. So, 
for every server.xml working on JDK 1.4

Thank you for wonderful software (Tomcat). Such a minor things in general does 
not count at all, but, please, correct it.

Timofei Bolshakov.

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

Reply via email to