You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2005/08/28 01:04:20 UTC
svn commit: r241814 - /httpd/httpd/trunk/server/mpm/prefork/prefork.c
Author: colm
Date: Sat Aug 27 16:04:17 2005
New Revision: 241814
URL: http://svn.apache.org/viewcvs?rev=241814&view=rev
Log:
Re-add a simple, obvious, speed-up.
Modified:
httpd/httpd/trunk/server/mpm/prefork/prefork.c
Modified: httpd/httpd/trunk/server/mpm/prefork/prefork.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/mpm/prefork/prefork.c?rev=241814&r1=241813&r2=241814&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/prefork/prefork.c (original)
+++ httpd/httpd/trunk/server/mpm/prefork/prefork.c Sat Aug 27 16:04:17 2005
@@ -1172,6 +1172,7 @@
if (kill(MPM_CHILD_PID(index), 0) == 0) {
active_children = 1;
/* Having just one child is enough to stay around */
+ break;
}
}
}