Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 4567 invoked from network); 1 Feb 2008 18:23:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2008 18:23:33 -0000 Received: (qmail 16032 invoked by uid 500); 1 Feb 2008 18:23:24 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 16003 invoked by uid 500); 1 Feb 2008 18:23:24 -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 15994 invoked by uid 99); 1 Feb 2008 18:23:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2008 10:23:24 -0800 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; Fri, 01 Feb 2008 18:23:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6FE40714047 for ; Fri, 1 Feb 2008 10:23:10 -0800 (PST) Message-ID: <9710824.1201890190453.JavaMail.jira@brutus> Date: Fri, 1 Feb 2008 10:23:10 -0800 (PST) From: "Sandeep Tamhankar (JIRA)" To: dev@hc.apache.org Subject: [jira] Updated: (HTTPCORE-143) Connection timeout leaks socket fd In-Reply-To: <33277738.1201889828303.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCORE-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandeep Tamhankar updated HTTPCORE-143: --------------------------------------- Attachment: DefaultConnectingIOReactor.java.diff Patch to fix leaked handle > Connection timeout leaks socket fd > ---------------------------------- > > Key: HTTPCORE-143 > URL: https://issues.apache.org/jira/browse/HTTPCORE-143 > Project: HttpComponents Core > Issue Type: Bug > Components: HttpCore NIO > Affects Versions: 4.0-rc1 > Reporter: Sandeep Tamhankar > Priority: Critical > Attachments: DefaultConnectingIOReactor.java.diff > > > Seen in an alpha7 snapshot: svn-597902 > Scenario: > * I want to talk to a machine that has a firewall configured that drops inbound packets on some port: iptables -I INPUT -p tcp --dport 8787 -j DROP > * I set up a client that uses NIO to open a connection to that host:port, with some timeout. > Expected Result: > The connection should timeout and the fd should be closed. > Actual Result: > My timeout callback gets called, but the connection never gets closed. -- 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