Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 9780 invoked from network); 4 May 2007 11:03:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 May 2007 11:03:50 -0000 Received: (qmail 1867 invoked by uid 500); 4 May 2007 11:03:56 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 920 invoked by uid 500); 4 May 2007 11:03:54 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 909 invoked by uid 99); 4 May 2007 11:03:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2007 04:03:54 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [212.27.42.36] (HELO smtp6-g19.free.fr) (212.27.42.36) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2007 04:03:47 -0700 Received: from [192.168.0.1] (gou06-1-82-224-99-120.fbx.proxad.net [82.224.99.120]) by smtp6-g19.free.fr (Postfix) with ESMTP id 0C0696D6D2 for ; Fri, 4 May 2007 13:03:26 +0200 (CEST) Message-ID: <463B12FE.5070708@apache.org> Date: Fri, 04 May 2007 13:03:26 +0200 From: Remy Maucherat User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: Proposed new CometEvent.notify method References: <4638B4DE.4090800@apache.org> <463945DC.9050606@apache.org> <4639F5F0.8030008@hanik.com> <4639FB90.3020406@apache.org> <463A064A.2090709@hanik.com> <463A0BDF.7060406@apache.org> In-Reply-To: <463A0BDF.7060406@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Remy Maucherat wrote: > No, I don't agree with reading bytes in the lower layer as it would > swallow problems even more than doing it in the adapter without any > additional benefit (BTW, read cannot return 0). There's also a likely > problem that it would require additional structures to hold that data, > and which are present in the adapter. Speaking of swallowing problems due to reading, you wrote this on the user list: On 5/4/07, Filip Hanik - Dev Lists wrote: > This is because when an event happens, CoyoteAdapter will now check the > channel by doing a read(in order for available to work). This will close > the underlying connection, and you'll get this error. CoyoteAdapter reads and generates the appropriate event according to the read result (previously, it generated a read event without doing a read). There's no close being done in CoyoteAdapter (except if there's an exception, in which case everything is recycled, but it doesn't seem to be the siutation you describe). R�my --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org