summaryrefslogtreecommitdiffstats
path: root/server/mpm_common.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2010-10-12 23:12:37 +0200
committerStefan Fritsch <sf@apache.org>2010-10-12 23:12:37 +0200
commit5bcd082e3d0d1e4a533348db6127463e96252fda (patch)
treec24d7200109eb8812eab4b2d86270ebc436a184b /server/mpm_common.c
parentRestore the apr_brigade_insert_file() call to within recall_body(), as the (diff)
downloadapache2-5bcd082e3d0d1e4a533348db6127463e96252fda.tar.xz
apache2-5bcd082e3d0d1e4a533348db6127463e96252fda.zip
Rename MaxRequestsPerChild to MaxConnectionsPerChild, which
describes more accurately what the directive does. The old name still works but logs a warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1021924 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm_common.c')
-rw-r--r--server/mpm_common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/mpm_common.c b/server/mpm_common.c
index e45a089447..044385aa66 100644
--- a/server/mpm_common.c
+++ b/server/mpm_common.c
@@ -253,6 +253,12 @@ const char *ap_mpm_set_max_requests(cmd_parms *cmd, void *dummy,
return err;
}
+ if (!strcasecmp(cmd->cmd->name, "MaxRequestsPerChild")) {
+ ap_log_error(APLOG_MARK, APLOG_WARNING, 0, NULL,
+ "MaxRequestsPerChild is deprecated, use "
+ "MaxConnectionsPerChild instead.");
+ }
+
ap_max_requests_per_child = atoi(arg);
return NULL;