]> granicus.if.org Git - apache/commitdiff
Re-add a simple, obvious, speed-up.
authorColm MacCarthaigh <colm@apache.org>
Sat, 27 Aug 2005 23:04:17 +0000 (23:04 +0000)
committerColm MacCarthaigh <colm@apache.org>
Sat, 27 Aug 2005 23:04:17 +0000 (23:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@241814 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/prefork/prefork.c

index 299d4c3ae4241c198dda802a1dad7d8c7fede4f5..7204f258acc01b822f1346cedcb7d43365c722fc 100644 (file)
@@ -1172,6 +1172,7 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s)
                     if (kill(MPM_CHILD_PID(index), 0) == 0) {
                             active_children = 1;
                             /* Having just one child is enough to stay around */
+                            break;
                     }
                 }
             }