Return-Path: Delivered-To: apmail-incubator-etch-dev-archive@locus.apache.org Received: (qmail 5367 invoked from network); 20 Jan 2009 15:46:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jan 2009 15:46:42 -0000 Received: (qmail 5891 invoked by uid 500); 20 Jan 2009 15:46:42 -0000 Delivered-To: apmail-incubator-etch-dev-archive@incubator.apache.org Received: (qmail 5877 invoked by uid 500); 20 Jan 2009 15:46:42 -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 5866 invoked by uid 99); 20 Jan 2009 15:46:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2009 07:46:42 -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 sccomer@cisco.com designates 171.71.176.70 as permitted sender) Received: from [171.71.176.70] (HELO sj-iport-1.cisco.com) (171.71.176.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2009 15:46:30 +0000 X-IronPort-AV: E=Sophos;i="4.37,295,1231113600"; d="scan'208";a="131160566" Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-1.cisco.com with ESMTP; 20 Jan 2009 15:46:08 +0000 Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id n0KFk8Pv003274 for ; Tue, 20 Jan 2009 07:46:08 -0800 Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by sj-core-5.cisco.com (8.13.8/8.13.8) with ESMTP id n0KFk6Gp003936 for ; Tue, 20 Jan 2009 15:46:08 GMT Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 20 Jan 2009 07:46:06 -0800 Received: from [127.0.0.1] ([10.89.20.3]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 20 Jan 2009 07:46:05 -0800 Message-ID: <4975F1BC.4020202@cisco.com> Date: Tue, 20 Jan 2009 09:46:04 -0600 From: scott comer User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: etch-dev@incubator.apache.org Subject: Re: [vote] include the fix for etch-25 in release 1.0.2 References: <496E058A.8070004@cisco.com> In-Reply-To: <496E058A.8070004@cisco.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Jan 2009 15:46:05.0933 (UTC) FILETIME=[34A279D0:01C97B16] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1361; t=1232466368; x=1233330368; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=sccomer@cisco.com; z=From:=20scott=20comer=20 |Subject:=20Re=3A=20[vote]=20include=20the=20fix=20for=20et ch-25=20in=20release=201.0.2 |Sender:=20; bh=/HlfNogPuOjBuqwJ1hFKJfePSPgzaN782OvnuzqIS4s=; b=rLApR5xHiOfaQna3AAEkAHrQF5vKR09avKtpsVIwYVsdzsjbCSYL0YsGEd CBTSMw3Bqnq8+yS8xw3tpQGoiVsW0AivljL9thlTX8qn4VjcP45TBcQr1OQ0 9xdLZn8fv/; Authentication-Results: sj-dkim-4; header.From=sccomer@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; ); X-Virus-Checked: Checked by ClamAV on apache.org +1 to include the fix. scott comer (sccomer) wrote: > 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 > >