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

           Summary: Should be able to specify DNS lookup timeout
           Product: Tomcat 5
           Version: 5.5.9
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


I want to set enableLookups="true", resolveHosts="true" but with a timeout
setting of 100ms. I expect that if the DNS does not reply within 100ms, Tomcat
should log the IP address instead. From actual experience, I have noticed that
if I don't get a reply within 100ms, the DNS is going to fail the lookup anyway
(and this takes 5-20 seconds to come back) so I might as well fail it right
away. I cannot enable resolveHosts with the current behavior because I get very
poor performance on IPs where lookup fails (and results in a 5-20 seconds delay
per request).

-- 
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