diff options
author | Stefan Fritsch <sf@apache.org> | 2011-06-20 21:47:23 +0200 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2011-06-20 21:47:23 +0200 |
commit | 5f2cf595f0a9003d6469075e10e4f5a8b8d0a138 (patch) | |
tree | 4bd76e2021c55178e5674701b760e38aaf9004b9 | |
parent | New AsyncRequestWorkerFactor directive to influence how many (diff) | |
download | apache2-5f2cf595f0a9003d6469075e10e4f5a8b8d0a138.tar.xz apache2-5f2cf595f0a9003d6469075e10e4f5a8b8d0a138.zip |
Fix search'n'replace error: Actually warn if MaxClients is used
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1137757 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | server/mpm/event/event.c | 2 | ||||
-rw-r--r-- | server/mpm/prefork/prefork.c | 2 | ||||
-rw-r--r-- | server/mpm/worker/worker.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c index 7eff0d566c..63bf639a2e 100644 --- a/server/mpm/event/event.c +++ b/server/mpm/event/event.c @@ -3084,7 +3084,7 @@ static const char *set_max_workers(cmd_parms * cmd, void *dummy, 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."); diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index 911bd647be..19dacf5682 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -1478,7 +1478,7 @@ static const char *set_max_clients (cmd_parms *cmd, void *dummy, const char *arg 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."); diff --git a/server/mpm/worker/worker.c b/server/mpm/worker/worker.c index 9d0971cf65..e137d15956 100644 --- a/server/mpm/worker/worker.c +++ b/server/mpm/worker/worker.c @@ -2311,7 +2311,7 @@ static const char *set_max_workers (cmd_parms *cmd, void *dummy, 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."); |