Return-Path: Delivered-To: apmail-jakarta-httpcomponents-dev-archive@www.apache.org Received: (qmail 26561 invoked from network); 13 Aug 2007 11:32:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Aug 2007 11:32:11 -0000 Received: (qmail 75136 invoked by uid 500); 13 Aug 2007 11:32:09 -0000 Delivered-To: apmail-jakarta-httpcomponents-dev-archive@jakarta.apache.org Received: (qmail 75107 invoked by uid 500); 13 Aug 2007 11:32:09 -0000 Mailing-List: contact httpcomponents-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list httpcomponents-dev@jakarta.apache.org Received: (qmail 75098 invoked by uid 99); 13 Aug 2007 11:32:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 04:32:09 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 11:32:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 716E27141EB for ; Mon, 13 Aug 2007 04:31:48 -0700 (PDT) Message-ID: <25856510.1187004708461.JavaMail.jira@brutus> Date: Mon, 13 Aug 2007 04:31:48 -0700 (PDT) From: =?utf-8?Q?Ortwin_Gl=C3=BCck_=28JIRA=29?= To: httpcomponents-dev@jakarta.apache.org Subject: [jira] Commented: (HTTPCLIENT-682) ConnectionManager timeout not used In-Reply-To: <2634337.1186986223571.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-682?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519416 ]= =20 Ortwin Gl=C3=BCck commented on HTTPCLIENT-682: ----------------------------------------- We also happily accept API Doc patches. > ConnectionManager timeout not used > ---------------------------------- > > Key: HTTPCLIENT-682 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-682 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 3.0.1 > Reporter: Wolfgang Winter > > In HttpClientParams a connectionManagerTimeout can be set but is never us= ed. The HttpClient uses per default the SimpleHttpConnectionManager, this c= lass implements method getConnectionWithTimeout( > HostConfiguration hostConfiguration, long timeout). However, the = parameter timeout is not used in the method, despite it's name. The timeout= parameter is set with HttpClientParams.connectionManagerTimeout, therefore= it is of no use in the standard framework. > you can fix this by=20 > --> correcting the method SimpleHttpConnectionManager.getConnectionWithTi= meout() > --> extending the Javadoc of SimpleHttpConnectionManager.getConnectionWit= hTimeout() and HttpClientParams.setConnectionManagerTimeout() saying, that = the timeout parameter is not used in the standard default implementation. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org