From: Bill Stoddard Date: Mon, 31 Jan 2005 16:32:18 +0000 (+0000) Subject: Remove upper limit on the LimitRequestFieldSize directive X-Git-Tag: 2.1.3~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da635a93a4473d7b828b903822449c4041ce6d9e;p=thirdparty%2Fapache%2Fhttpd.git Remove upper limit on the LimitRequestFieldSize directive git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@149269 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 48ea378aede..43f98c1ad6c 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.1.3 [Remove entries to the current 2.0 section below, when backported] + *) Remove compiled-in upper limit on LimitRequestFieldSize. + [Bill Stoddard] + *) mod_ldap: Added the directive LDAPConnectionTimeout to configure the ldap socket connection timeout value. [Brad Nicholes] diff --git a/server/core.c b/server/core.c index 15083f9ff5e..988acd0f23e 100644 --- a/server/core.c +++ b/server/core.c @@ -2704,16 +2704,10 @@ static const char *set_limit_req_fieldsize(cmd_parms *cmd, void *dummy, lim = atoi(arg); if (lim < 0) { return apr_pstrcat(cmd->temp_pool, "LimitRequestFieldsize \"", arg, - "\" must be a non-negative integer (0 = no limit)", + "\" must be a non-negative integer", NULL); } - if (lim > DEFAULT_LIMIT_REQUEST_FIELDSIZE) { - return apr_psprintf(cmd->temp_pool, "LimitRequestFieldsize \"%s\" " - "must not exceed the precompiled maximum of %d", - arg, DEFAULT_LIMIT_REQUEST_FIELDSIZE); - } - cmd->server->limit_req_fieldsize = lim; return NULL; }