Return-Path: Delivered-To: apmail-incubator-etch-dev-archive@locus.apache.org Received: (qmail 44311 invoked from network); 14 Jan 2009 15:56:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jan 2009 15:56:07 -0000 Received: (qmail 98698 invoked by uid 500); 14 Jan 2009 15:56:07 -0000 Delivered-To: apmail-incubator-etch-dev-archive@incubator.apache.org Received: (qmail 98677 invoked by uid 500); 14 Jan 2009 15:56:07 -0000 Mailing-List: contact etch-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: etch-dev@incubator.apache.org Delivered-To: mailing list etch-dev@incubator.apache.org Received: (qmail 98666 invoked by uid 99); 14 Jan 2009 15:56:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2009 07:56:07 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jliau@cisco.com designates 171.71.176.71 as permitted sender) Received: from [171.71.176.71] (HELO sj-iport-2.cisco.com) (171.71.176.71) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2009 15:55:55 +0000 X-IronPort-AV: E=Sophos;i="4.37,263,1231113600"; d="scan'208";a="122503469" Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-2.cisco.com with ESMTP; 14 Jan 2009 15:55:33 +0000 Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id n0EFtXie024488 for ; Wed, 14 Jan 2009 07:55:33 -0800 Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by sj-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id n0EFtXsR004988 for ; Wed, 14 Jan 2009 15:55:33 GMT Received: from xmb-sjc-215.amer.cisco.com ([171.70.151.169]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 14 Jan 2009 07:55:33 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [vote] include the fix for etch-25 in release 1.0.2 Date: Wed, 14 Jan 2009 07:54:39 -0800 Message-ID: <4C0FAAC489C8B74F96BEAD85EAEB262507D3CC58@xmb-sjc-215.amer.cisco.com> In-Reply-To: <496E058A.8070004@cisco.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [vote] include the fix for etch-25 in release 1.0.2 Thread-Index: Acl2XXBZS0uRhcycT3i0bYIEkvo6OgAAukhw References: <496E058A.8070004@cisco.com> From: "J.D. Liau (jliau)" To: X-OriginalArrivalTime: 14 Jan 2009 15:55:33.0539 (UTC) FILETIME=[8879C730:01C97660] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1497; t=1231948533; x=1232812533; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=jliau@cisco.com; z=From:=20=22J.D.=20Liau=20(jliau)=22=20 |Subject:=20RE=3A=20[vote]=20include=20the=20fix=20for=20et ch-25=20in=20release=201.0.2 |Sender:=20; bh=Zv5fnNcLi9vWdPSen5BMQTxENiGRK6FB5BJpWNbMwrg=; b=UzKZGSf8pvlUAy3xQvxrOD6xp9RGS4LqVi7hVXNIORp/PRZjIOiSEhyr0V 7SbTyd0LE/pApxN+SUr0IIydbXUkZi/PFDXtqQJW56vNIz5nnBCKYPtJNPe2 Q5ldpSPq5q; Authentication-Results: sj-dkim-4; header.From=jliau@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; ); X-Virus-Checked: Checked by ClamAV on apache.org Yes, I think this should be included in 1.0.2.=20 -----Original Message----- From: Scott Comer (sccomer)=20 Sent: Wednesday, January 14, 2009 9:32 AM To: etch-dev@incubator.apache.org Subject: [vote] include the fix for etch-25 in release 1.0.2 DefaultDeliveryService ends call with mb.CloseDelivery() and it should end it with mb.CloseRead() ------------------------------------------------------------------------ ------------------------- Key: ETCH-25 URL: https://issues.apache.org/jira/browse/ETCH-25 Project: Etch Issue Type: Bug Components: csharp-binding, java-binding Affects Versions: 1.0.1, 1.0.0 Reporter: scott comer when done reading the mailbox, the right method to call is CloseRead(). somehow the code actually calls CloseDelivery(), a method used to shutdown the writing side of the mailbox. CloseRead() calls CloseDelivery() first off, but then takes the additional steps of redelivering any messages left in the mailbox. The distinction is rather fine, and this bug was found by reading the source code. There are certain ways you could exercise this bug, but it would be very rare and not have any real impact. So, it isn't an emergency to fix it, but it is also a relatively benign fix. I've already made the change in my tree and tested it. The patch is attached. ------------------ there is little risk. all unit tests have passed. scott out