Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 90275 invoked from network); 11 May 2009 20:23:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 May 2009 20:23:10 -0000 Received: (qmail 64969 invoked by uid 500); 11 May 2009 20:23:10 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 64840 invoked by uid 500); 11 May 2009 20:23:10 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 64614 invoked by uid 99); 11 May 2009 20:23:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 May 2009 20:23:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 May 2009 20:23:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B1A8D29A0014 for ; Mon, 11 May 2009 13:22:45 -0700 (PDT) Message-ID: <2063554770.1242073365726.JavaMail.jira@brutus> Date: Mon, 11 May 2009 13:22:45 -0700 (PDT) From: "praveen neppalli naga (JIRA)" To: dev@hc.apache.org Subject: [jira] Commented: (HTTPCLIENT-848) HttpClient:- Connections not released when SSL Tunneling fails. In-Reply-To: <1985187994.1242071025540.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708196#action_12708196 ] praveen neppalli naga commented on HTTPCLIENT-848: -------------------------------------------------- absolutely. I do HttpMethod#releaseConnection() in the finally block. I debugged through the code before i opened this issue. > HttpClient:- Connections not released when SSL Tunneling fails. > --------------------------------------------------------------- > > Key: HTTPCLIENT-848 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-848 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpConn > Affects Versions: 3.1 Final > Reporter: praveen neppalli naga > > Trying to use HTTPS, and SSL tunneling fails as expected because the host is not accepted by the squid proxy, so squid proxy return 403. > The problem I am seeing is that, when ever this happens the connections are not released to the pool. I traced the code and it appears that in > HttpMethidDirector.java: executeWithRetry() > when executeConnect() return false and there is no retry, the connections are not released. > Is this expected? Or am I doing something wrong. -- 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: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org