Return-Path: Delivered-To: apmail-incubator-river-commits-archive@locus.apache.org Received: (qmail 19537 invoked from network); 14 Aug 2007 19:47:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Aug 2007 19:47:55 -0000 Received: (qmail 98273 invoked by uid 500); 14 Aug 2007 19:47:53 -0000 Delivered-To: apmail-incubator-river-commits-archive@incubator.apache.org Received: (qmail 98244 invoked by uid 500); 14 Aug 2007 19:47:52 -0000 Mailing-List: contact river-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: river-dev@incubator.apache.org Delivered-To: mailing list river-commits@incubator.apache.org Received: (qmail 98234 invoked by uid 99); 14 Aug 2007 19:47:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 12:47:52 -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; Tue, 14 Aug 2007 19:48:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8ACE87141F2 for ; Tue, 14 Aug 2007 12:47:30 -0700 (PDT) Message-ID: <11128586.1187120850547.JavaMail.jira@brutus> Date: Tue, 14 Aug 2007 12:47:30 -0700 (PDT) From: "Jim Hurley (JIRA)" To: river-commits@incubator.apache.org Subject: [jira] Created: (RIVER-245) Unicast discovery should close socket in case of connection exception. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Unicast discovery should close socket in case of connection exception. ---------------------------------------------------------------------- Key: RIVER-245 URL: https://issues.apache.org/jira/browse/RIVER-245 Project: River Issue Type: Bug Components: com_sun_jini_discovery Affects Versions: jtsk_2.1 Reporter: Jim Hurley Priority: Minor Bugtraq ID [6284047|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6284047] The MultiIPDiscovery class which is used by ConstrainableLookupLocator, LookupDiscovery and LookupLocatorDiscovery does not close the socket it created on encountering an exception during connect. Ordinarily this should not result in the socket file descriptor being 'leaked' (at least until finalization). However, this should still be cleaned up. This behavior would be consistent to the endpoint implementations too. We should also close those socket in case there is an exception while setting the SO_TIMEOUT (setSoTimeout call). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.