httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1738635 - /httpd/httpd/trunk/server/scoreboard.c
Date Mon, 11 Apr 2016 20:05:22 GMT
Author: sf
Date: Mon Apr 11 20:05:22 2016
New Revision: 1738635

URL: http://svn.apache.org/viewvc?rev=1738635&view=rev
Log:
Make ap_find_child_by_pid() look at all slots that have ever been used.

This is preparation to allow to use more scoreboard slots in mpm event.

Modified:
    httpd/httpd/trunk/server/scoreboard.c

Modified: httpd/httpd/trunk/server/scoreboard.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/scoreboard.c?rev=1738635&r1=1738634&r2=1738635&view=diff
==============================================================================
--- httpd/httpd/trunk/server/scoreboard.c (original)
+++ httpd/httpd/trunk/server/scoreboard.c Mon Apr 11 20:05:22 2016
@@ -399,7 +399,7 @@ AP_DECLARE(int) ap_find_child_by_pid(apr
     int i;
     int max_daemons_limit = 0;
 
-    ap_mpm_query(AP_MPMQ_MAX_DAEMONS, &max_daemons_limit);
+    ap_mpm_query(AP_MPMQ_MAX_DAEMON_USED, &max_daemons_limit);
 
     for (i = 0; i < max_daemons_limit; ++i) {
         if (ap_scoreboard_image->parent[i].pid == pid->pid) {



Mime
View raw message