]> granicus.if.org Git - apache/commit
Fix MaxConnectionsPerChild
authorRainer Jung <rjung@apache.org>
Sun, 22 Jul 2012 11:51:58 +0000 (11:51 +0000)
committerRainer Jung <rjung@apache.org>
Sun, 22 Jul 2012 11:51:58 +0000 (11:51 +0000)
commit7d7cdd99f64047b17e13350edca44f69abfba301
treef9afb7c5b370174852b06dab9bdc2cd8f1b6541f
parent97b8bfe5be33ec32fd37f82613e01d5578104dcf
Fix MaxConnectionsPerChild

This was broken when the handling of lingering close was moved into the
listener thread.

- Make the connection counting thread safe.
- Do the counting in the connection pool cleanup to ensure that it gets
  also executed if the listener thread closes the connection.
- Add a trace log message when a process is recycled.
- Rename requests_this_child to conns_this_child, which is more accurate

Backport of r1343085 and r1343087.

Submitted by: sf
Reviewed by: humbedooh, rjung
Backported by: rjung

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364268 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
server/mpm/event/event.c