Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 36748 invoked from network); 16 Jun 2007 18:02:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jun 2007 18:02:44 -0000 Received: (qmail 62267 invoked by uid 500); 16 Jun 2007 18:02:43 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 62200 invoked by uid 500); 16 Jun 2007 18:02:43 -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 62184 invoked by uid 99); 16 Jun 2007 18:02:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jun 2007 11:02:43 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of costin@gmail.com designates 66.249.92.169 as permitted sender) Received: from [66.249.92.169] (HELO ug-out-1314.google.com) (66.249.92.169) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jun 2007 11:02:38 -0700 Received: by ug-out-1314.google.com with SMTP id m2so1102574ugc for ; Sat, 16 Jun 2007 11:02:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=PMXR1RsHjOk7e6VQyWZ9kOQp5otHeSYxGCPhDo0nWPG5VNLmR3OMa8ZObkP89NfxHh3POPprUUNYDOes1KbOyhuWw4Y7pTWu2gYglhnlaz2bg8yaOU76KmNpPeoHej8NSv/iy/epXt9w0RX9MwRRELCqa77dWBa9Dk2QOJiKVvc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=qydckemSidjyYLsxS84PHs6wtrjTt9oE/j8EYlmvTAVKu/X+TlVL1TDhHGZIs+54yJxG3fwDnMFoUAXKqcNK3tkDWss8vo437fdyomx9ugUU9IP5VTCdMNHIoGe/M0Wis2oTGzFV/EjkRriOKS3LKMiirHwVlFT5Wc8+xWrDP5o= Received: by 10.82.152.16 with SMTP id z16mr8074406bud.1182016937226; Sat, 16 Jun 2007 11:02:17 -0700 (PDT) Received: by 10.82.175.4 with HTTP; Sat, 16 Jun 2007 11:02:17 -0700 (PDT) Message-ID: <96e4b5230706161102n7e678fc1k48509e822837c39d@mail.gmail.com> Date: Sat, 16 Jun 2007 11:02:17 -0700 From: "Costin Manolache" Reply-To: costin@apache.org To: "Tomcat Developers List" Subject: Re: Proposed simplification of CometEvent In-Reply-To: <467303B9.6020507@hanik.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_84845_15905325.1182016937147" References: <46681613.4040903@apache.org> <46704E0D.4000708@hanik.com> <96e4b5230706131702s69f1f198s127ab1975d661a88@mail.gmail.com> <467192BF.1050607@hanik.com> <96e4b5230706141433m6fb4221l19fa3f660193993c@mail.gmail.com> <4672B9D5.60804@hanik.com> <4672BD2B.5060809@apache.org> <96e4b5230706151112g26fe7a63ic9234d6b1358325d@mail.gmail.com> <4672E788.6020104@hanik.com> <467303B9.6020507@hanik.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_84845_15905325.1182016937147 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 6/15/07, Filip Hanik - Dev Lists wrote: correction, should read > I can implement inputstream.read() to return 0 on both blocking and non > blocking *Comet events*, (since sockets are always non blocking) Ok, my mistake - what I really meant to say is: I am only interested in Comet if it behaves similar with non-blocking sockets ( regardless of implementation ), i.e. read(), write() called inside a comet servlet will never block. >From the description so far it seems the sandbox version has this property and the trunk has an option to make it blocking ( or so I understood from your comments ). I'm not familiar with the concept of 'non blocking *Comet events*' - never heard of an event that blocks or doesn't block before. If you mean that during a comet event read will be blocking ( based on config or whatever else ) - I think this is a bad design. Costin ------=_Part_84845_15905325.1182016937147--