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: [email protected]
ReportedBy: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]