httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1137757 - in /httpd/httpd/trunk/server/mpm: event/event.c prefork/prefork.c worker/worker.c
Date Mon, 20 Jun 2011 19:47:23 GMT
Author: sf
Date: Mon Jun 20 19:47:23 2011
New Revision: 1137757

URL: http://svn.apache.org/viewvc?rev=1137757&view=rev
Log:
Fix search'n'replace error: Actually warn if MaxClients is used

Modified:
    httpd/httpd/trunk/server/mpm/event/event.c
    httpd/httpd/trunk/server/mpm/prefork/prefork.c
    httpd/httpd/trunk/server/mpm/worker/worker.c

Modified: httpd/httpd/trunk/server/mpm/event/event.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/event/event.c?rev=1137757&r1=1137756&r2=1137757&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/event/event.c (original)
+++ httpd/httpd/trunk/server/mpm/event/event.c Mon Jun 20 19:47:23 2011
@@ -3084,7 +3084,7 @@ static const char *set_max_workers(cmd_p
     if (err != NULL) {
         return err;
     }
-    if (!strcasecmp(cmd->cmd->name, "MaxRequestWorkers")) {
+    if (!strcasecmp(cmd->cmd->name, "MaxClients")) {
         ap_log_error(APLOG_MARK, APLOG_WARNING, 0, NULL,
                      "MaxClients is deprecated, use MaxRequestWorkers "
                      "instead.");

Modified: httpd/httpd/trunk/server/mpm/prefork/prefork.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/prefork/prefork.c?rev=1137757&r1=1137756&r2=1137757&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/prefork/prefork.c (original)
+++ httpd/httpd/trunk/server/mpm/prefork/prefork.c Mon Jun 20 19:47:23 2011
@@ -1478,7 +1478,7 @@ static const char *set_max_clients (cmd_
     if (err != NULL) {
         return err;
     }
-    if (!strcasecmp(cmd->cmd->name, "MaxRequestWorkers")) {
+    if (!strcasecmp(cmd->cmd->name, "MaxClients")) {
         ap_log_error(APLOG_MARK, APLOG_WARNING, 0, NULL,
                      "MaxClients is deprecated, use MaxRequestWorkers "
                      "instead.");

Modified: httpd/httpd/trunk/server/mpm/worker/worker.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/worker/worker.c?rev=1137757&r1=1137756&r2=1137757&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/worker/worker.c (original)
+++ httpd/httpd/trunk/server/mpm/worker/worker.c Mon Jun 20 19:47:23 2011
@@ -2311,7 +2311,7 @@ static const char *set_max_workers (cmd_
     if (err != NULL) {
         return err;
     }
-    if (!strcasecmp(cmd->cmd->name, "MaxRequestWorkers")) {
+    if (!strcasecmp(cmd->cmd->name, "MaxClients")) {
         ap_log_error(APLOG_MARK, APLOG_WARNING, 0, NULL,
                      "MaxClients is deprecated, use MaxRequestWorkers "
                      "instead.");



Mime
View raw message