Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 96839 invoked from network); 13 Jan 2010 14:28:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jan 2010 14:28:49 -0000 Received: (qmail 49156 invoked by uid 500); 13 Jan 2010 14:28:48 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 49064 invoked by uid 500); 13 Jan 2010 14:28:48 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 49055 invoked by uid 99); 13 Jan 2010 14:28:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2010 14:28:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of apache-dev@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2010 14:28:40 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NV4Cl-0003BU-Gw for dev@httpd.apache.org; Wed, 13 Jan 2010 15:28:15 +0100 Received: from user-0c8hj6c.cable.mindspring.com ([24.136.204.204]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jan 2010 15:28:15 +0100 Received: from poirier by user-0c8hj6c.cable.mindspring.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jan 2010 15:28:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@httpd.apache.org From: Dan Poirier Subject: Re: mod_reqtimeout backport Date: Wed, 13 Jan 2010 09:27:51 -0500 Lines: 42 Message-ID: References: <20100109195247.B53EC238899B@eris.apache.org> <201001130030.37405.sf@sfritsch.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: user-0c8hj6c.cable.mindspring.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) Cancel-Lock: sha1:kCSDFc4qfni3wFScazU93qRJxCU= Sender: news Stefan Fritsch writes: > I am not particularly happy about the syntax, yet. I just had the idea > to have one keyword xxx that can optionally accept a range, instead of > two keywords xxxinit and xxxmax: > > Header=30 > Body=5-50 BodyMinRate=500 > > or > > Header=5-20,minrate=500 > Body=5-50,minrate=500 > > but the combination > > Header=5,minrate=1000 > > is less clear. Maybe make the '-' mandatory in this case: > > Header=5-,minrate=1000 > > Any opinions or better ideas? > > One could also rename RequestTimeout into RequestReadTimeout if that > makes it easier to understand. We might simplify the model by not exposing the internal extending of the timeout. Just let the admin specify an overall max time, a minimum rate, or both: HeaderTimeout: Maximum seconds to read the entire header. HeaderMinRate: Minimum rate (bytes/second) allowed when reading the request header. If the rate drops below this, the request is timed out. We'd enforce both if specified. In that case HeaderTimeout would act like headermax. Internally we'd probably implement HeaderMinRate by gradually extending a timeout, but we wouldn't be tied to that. Dan