Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9EC70CD40 for ; Sun, 20 May 2012 18:45:15 +0000 (UTC) Received: (qmail 44241 invoked by uid 500); 20 May 2012 18:45:14 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 44165 invoked by uid 500); 20 May 2012 18:45:14 -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 44155 invoked by uid 99); 20 May 2012 18:45:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 May 2012 18:45:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of henri.gomez@gmail.com designates 209.85.212.177 as permitted sender) Received: from [209.85.212.177] (HELO mail-wi0-f177.google.com) (209.85.212.177) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 May 2012 18:45:05 +0000 Received: by wibhm14 with SMTP id hm14so1388387wib.0 for ; Sun, 20 May 2012 11:44:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; bh=Fhu6XuHZMD85+Q2J1rNppTXSlcTE3R/6MyBftXJucx0=; b=ex/cnB325G1y2qG99WK7+OHNeCX4dD3XXek/8Aqa9z6ZUQNjZx1Q6f8GDYILUWYlSD jurkLua/Fi+EfRBuqRTvdyLrB+OYpi7UrHcIh3//zslR3+WPkn4uiEflyTAzp6WBRedn FAs5ku/Kjlo1+MnD11K21NK8wPmsG8w4uog7T3UvytteCQRExQWJ5GAEAHKrQYb3bDQD PFaP6/Od039uAiMa5yUqHntM2Tb1SUcU8B9xC+xQKtKsS8YYLg1oNQIwDU/i6nqCwk+j mqRvgaXxTSaYRJ08wr3cgFQMmPhbyvQwtuEPKv9cQEmFnqdpHUMk3o3HcgL1i1HWtBac ttHg== Received: by 10.180.98.39 with SMTP id ef7mr18401829wib.21.1337539485506; Sun, 20 May 2012 11:44:45 -0700 (PDT) Received: from [192.168.0.11] (rav73-1-82-239-32-34.fbx.proxad.net. [82.239.32.34]) by mx.google.com with ESMTPS id fo7sm20022700wib.9.2012.05.20.11.44.43 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 20 May 2012 11:44:44 -0700 (PDT) References: <4FB939F5.8020109@apache.org> In-Reply-To: <4FB939F5.8020109@apache.org> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Message-Id: <8CE19033-A020-4FCE-9C17-918ACCADEAF8@gmail.com> Cc: Tomcat Developers List X-Mailer: iPhone Mail (9B206) From: Henri Gomez Subject: Re: APR/native and per socket timeouts. Date: Sun, 20 May 2012 20:44:42 +0200 To: Tomcat Developers List Did there is a need to have sockets with differents timeout in day to day ca= se ? For example did it is required by specs or API ? The finer, the better but only if there is a real need :-) Btw, i'll take a look to your commits.=20 Le 20 mai 2012 =C3=A0 20:37, Mark Thomas a =C3=A9crit : > Currently, time outs for APR/native sockets are managed at the Pollset > level. This means all sockets in a single Pollset must have the same > time out. This is starting to become a nuisance. >=20 > I have already had to add a second Pollset to AprEndpoint to handle > separate connection and keep-alive time outs. Now I need to be able to > handle infinite time outs for WebSocket and I do not want to have to add > a third Pollset. >=20 > Therefore, I intend modifying the APR/native code to support per socket > time outs. I would be grateful if those of you with more C knowledge > than I (which is most people on this list) could: > a) tell me now if this is a crazy idea (and why) > b) keep an extra close eye on any commit of mine that touches the C code. >=20 > I intend to retain backwards compatibility so newer versions of the > native connector will work with older Tomcat versions but Tomcat 7 will > have a new minimum native version so that this feature is available. > This means that the next Tomcat 7 release is likely to have to wait for > the next native release. >=20 > Looking at the code so far, I am likely to start with some renaming to > clarify the current code before actually changing anything functional. >=20 > Mark >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org > For additional commands, e-mail: dev-help@tomcat.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org