httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r151259 - in httpd/httpd/branches/2.0.x: CHANGES server/core.c
Date Thu, 03 Feb 2005 23:55:17 GMT
Author: jerenkrantz
Date: Thu Feb  3 15:55:15 2005
New Revision: 151259

URL: http://svn.apache.org/viewcvs?view=rev&rev=151259
Log:
Remove upper limit on the LimitRequestFieldSize directive

MFC: 149269
Reviewed by: stoddard, jerenkrantz, jim

Modified:
    httpd/httpd/branches/2.0.x/CHANGES
    httpd/httpd/branches/2.0.x/server/core.c

Modified: httpd/httpd/branches/2.0.x/CHANGES
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/CHANGES?view=diff&r1=151258&r2=151259
==============================================================================
--- httpd/httpd/branches/2.0.x/CHANGES (original)
+++ httpd/httpd/branches/2.0.x/CHANGES Thu Feb  3 15:55:15 2005
@@ -1,6 +1,9 @@
 Changes with Apache 2.0.53
 
-) *) Start keeping track of time-taken-to-process-request again for
+  *) Remove compiled-in upper limit on LimitRequestFieldSize.
+     [Bill Stoddard]
+
+  *) Start keeping track of time-taken-to-process-request again for
      mod_status if ExtendedStatus is enabled. [Jim Jagielski]
 
   *) mod_proxy: Handle client-aborted connections correctly.  PR 32443.

Modified: httpd/httpd/branches/2.0.x/server/core.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/server/core.c?view=diff&r1=151258&r2=151259
==============================================================================
--- httpd/httpd/branches/2.0.x/server/core.c (original)
+++ httpd/httpd/branches/2.0.x/server/core.c Thu Feb  3 15:55:15 2005
@@ -2567,14 +2567,8 @@
     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;



Mime
View raw message