]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove upper limit on the LimitRequestFieldSize directive
authorBill Stoddard <stoddard@apache.org>
Mon, 31 Jan 2005 16:32:18 +0000 (16:32 +0000)
committerBill Stoddard <stoddard@apache.org>
Mon, 31 Jan 2005 16:32:18 +0000 (16:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@149269 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
server/core.c

diff --git a/CHANGES b/CHANGES
index 48ea378aede77e78613dbbcaf2f6427822e5cbe4..43f98c1ad6c76c900c52ff4b76c0422ff1d47483 100644 (file)
--- 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]
index 15083f9ff5eea8f500dcf76538989515193dfafa..988acd0f23efe1c90c13ef413bbabdeb73e8c7d1 100644 (file)
@@ -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;
 }