httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45762] New: Add feature to log number of keepalive requests
Date Mon, 08 Sep 2008 12:39:31 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45762

           Summary: Add feature to log number of keepalive requests
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: PatchAvailable
          Severity: enhancement
          Priority: P5
         Component: mod_log_config
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: poirier@pobox.com


Created an attachment (id=22541)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22541)
Patch to implement the new feature

The attached patch adds the ability to log the number of keepalive requests
that a connection has served.

It adds %k to the log format, which logs r->connection->keepalives.

(Compiles without warnings on revision 692451.)

Note: logging r->connection->keepalives reveals a couple of things about
keepalive processing that seemed odd to me, but are outside the scope of this
bug report.  But briefly, if MaxKeepAliveRequests is set to N, a connection may
serve up to N+1 requests.  Also, ->keepalives is not incremented the last time,
so if MaxKeepAliveRequests is 3, the logged values will be 1,2,3,3.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message