You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2021/10/13 14:30:03 UTC

svn commit: r1894195 - /httpd/httpd/trunk/modules/generators/mod_info.c

Author: ylavic
Date: Wed Oct 13 14:30:03 2021
New Revision: 1894195

URL: http://svn.apache.org/viewvc?rev=1894195&view=rev
Log:
mod_info: Output AP_MPMQ_MAX_DAEMONS instead of AP_MPMQ_MAX_DAEMON_USED.

The latter is maintained in the parent process only (for maintenance) and is
meaningless in the child process (by design).

Modified:
    httpd/httpd/trunk/modules/generators/mod_info.c

Modified: httpd/httpd/trunk/modules/generators/mod_info.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_info.c?rev=1894195&r1=1894194&r2=1894195&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/generators/mod_info.c (original)
+++ httpd/httpd/trunk/modules/generators/mod_info.c Wed Oct 13 14:30:03 2021
@@ -475,7 +475,7 @@ static int show_server_settings(request_
                "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",