From 5bcd082e3d0d1e4a533348db6127463e96252fda Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Tue, 12 Oct 2010 21:12:37 +0000 Subject: 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 --- server/mpm_common.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'server/mpm_common.c') 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; -- cgit v1.2.3