]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Simplify handling of MaxConnectionsPerChild
authorStefan Fritsch <sf@apache.org>
Sun, 15 Jul 2012 19:31:49 +0000 (19:31 +0000)
committerStefan Fritsch <sf@apache.org>
Sun, 15 Jul 2012 19:31:49 +0000 (19:31 +0000)
commit131d8f2ed6117e191543e3e147f115d170081399
tree7a14cc541175bd1384b01789588921d924d2c34a
parent175e5b26cd914790fc9c0d3364f76818d86925da
Simplify handling of MaxConnectionsPerChild

If we decrement the counter at accept time and not at close time,
we only need to access the counter in the listener thread and the
code gets much simpler.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1361766 13f79535-47bb-0310-9956-ffa450edef68
server/mpm/event/event.c