Return-Path: Delivered-To: apmail-jakarta-httpclient-dev-archive@www.apache.org Received: (qmail 69443 invoked from network); 16 Jul 2005 20:22:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Jul 2005 20:22:17 -0000 Received: (qmail 90731 invoked by uid 500); 16 Jul 2005 20:22:16 -0000 Delivered-To: apmail-jakarta-httpclient-dev-archive@jakarta.apache.org Received: (qmail 90715 invoked by uid 500); 16 Jul 2005 20:22:15 -0000 Mailing-List: contact httpclient-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "HttpClient Project" Reply-To: "HttpClient Project" Delivered-To: mailing list httpclient-dev@jakarta.apache.org Received: (qmail 90701 invoked by uid 99); 16 Jul 2005 20:22:15 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jul 2005 13:22:07 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id 56FEC15; Sat, 16 Jul 2005 22:22:04 +0200 (CEST) From: bugzilla@apache.org To: httpclient-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 35642] - HttpConnectionParams.setConnectionTimeout(int) has no effect if host unreachable X-Bugzilla-Reason: AssignedTo Message-Id: <20050716202204.56FEC15@ajax.apache.org> Date: Sat, 16 Jul 2005 22:22:04 +0200 (CEST) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=35642 olegk@apache.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO ------- Additional Comments From olegk@apache.org 2005-07-16 22:22 ------- Horia, I was unable to reproduce the problem with JRE 1.4.2.8 & 1.5.0.4 on Linux FC4 and on WinXP with JRE 1.4.2.4. I always get a reasonable connect timeout against a non-existent IP. The problem appears to be specific to your environment, LAN, TCP/IP setup, JRE or something else. Fundamentally HttpClient does not do anything tricky. It just employs reflection to execute 1.4 specific methods: http://jakarta.apache.org/commons/httpclient/xref/org/apache/commons/httpclient/protocol/ReflectionSocketFactory.html#85 If you do not care about Java 1.2 compatibility, consider implementing a simpler ProtocolSocketFactory that directly calls 1.4 specific Socket methods and see if that makes any difference. http://jakarta.apache.org/commons/httpclient/xref/org/apache/commons/httpclient/protocol/DefaultProtocolSocketFactory.html#48 Once Odi's patch is committed we will not have much choice but to mark this bug as WORKSFORME unless we get more info how to reproduce the problem. Oleg -- 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: httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org