]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_info: Output AP_MPMQ_MAX_DAEMONS instead of AP_MPMQ_MAX_DAEMON_USED.
authorYann Ylavic <ylavic@apache.org>
Wed, 13 Oct 2021 14:30:03 +0000 (14:30 +0000)
committerYann Ylavic <ylavic@apache.org>
Wed, 13 Oct 2021 14:30:03 +0000 (14:30 +0000)
The latter is maintained in the parent process only (for maintenance) and is
meaningless in the child process (by design).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1894195 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_info.c

index 1662242afe929b71dfc7c1941298d168a846b110..3b5ae7a7259d2a2d51c5ef1770163d4b482d4233 100644 (file)
@@ -475,7 +475,7 @@ static int show_server_settings(request_rec * r)
                "keep-alive: %d</tt></dt>",
                (int) (apr_time_sec(serv->timeout)),
                (int) (apr_time_sec(serv->keep_alive_timeout)));
-    ap_mpm_query(AP_MPMQ_MAX_DAEMON_USED, &max_daemons);
+    ap_mpm_query(AP_MPMQ_MAX_DAEMONS, &max_daemons);
     ap_mpm_query(AP_MPMQ_IS_THREADED, &threaded);
     ap_mpm_query(AP_MPMQ_IS_FORKED, &forked);
     ap_rprintf(r, "<dt><strong>MPM Name:</strong> <tt>%s</tt></dt>\n",