Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 50452 invoked from network); 19 Sep 2008 15:33:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Sep 2008 15:33:52 -0000 Received: (qmail 13065 invoked by uid 500); 19 Sep 2008 15:33:46 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 12997 invoked by uid 500); 19 Sep 2008 15:33:46 -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 12988 invoked by uid 99); 19 Sep 2008 15:33:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 08:33:46 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 75.180.132.121 is neither permitted nor denied by domain of poirier@pobox.com) Received: from [75.180.132.121] (HELO cdptpa-omtalb.mail.rr.com) (75.180.132.121) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 15:32:46 +0000 Received: from tick.localdomain ([71.65.202.194]) by cdptpa-omta01.mail.rr.com with ESMTP id <20080919153216.MFPJ25689.cdptpa-omta01.mail.rr.com@tick.localdomain>; Fri, 19 Sep 2008 15:32:16 +0000 Received: by tick.localdomain (Postfix, from userid 5001) id 40F45B5C10D; Fri, 19 Sep 2008 11:33:03 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on tick.mynet X-Spam-Level: Received: from danpoirier.homeunix.org (localhost [127.0.0.1]) by tick.localdomain (Postfix) with ESMTP id D5DCDB5C0EC; Fri, 19 Sep 2008 11:33:02 -0400 (EDT) Received: from 129.33.49.251 (SquirrelMail authenticated user poirier) by danpoirier.homeunix.org with HTTP; Fri, 19 Sep 2008 11:33:02 -0400 (EDT) Message-ID: <66d2e0420e858f66fa43bc061441b97b.squirrel@danpoirier.homeunix.org> In-Reply-To: References: <48CFF36B.7000609@pobox.com> Date: Fri, 19 Sep 2008 11:33:02 -0400 (EDT) Subject: Re: More accurate logging of requests per connection From: "Dan Poirier" To: dev@httpd.apache.org User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-4.4 required=2.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 On Fri, September 19, 2008 11:18 am, Jim Jagielski wrote: > A better interpretation would be, I think, the number of keepalive > requests on that connection. So a '1' would be the 1st keepalive > request, 2 would be the 2nd, etc... So a '0' would be the > initial request, and would be applicable whether keepalives > are enabled or not. This would make the logic simpler. That works. The remaining issue, which is minor, is that since ap_set_keepalive() doesn't increment connection->keepalives on the last request, the value logged will be N-1 for both the N-1 and N'th keepalive request. But I don't imagine most connections will ever see the N'th keepalive request. -- Dan Poirier