httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45762] New: Add feature to log number of keepalive requests
Date Mon, 08 Sep 2008 12:39:31 GMT

           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

Created an attachment (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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message