From: Eric Covener
Date: Wed, 1 Jun 2022 12:31:48 +0000 (+0000)
Subject: Merge r1901497 from trunk:
X-Git-Tag: 2.4.54-rc1-candidate~23
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce259c4061905bf834f9af51c92456cfe8335ddc;p=thirdparty%2Fapache%2Fhttpd.git
Merge r1901497 from trunk:
use a liberal default limit for LimitRequestBody of 1GB
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1901499 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml
index 69d4df88728..78bf50834bc 100644
--- a/docs/manual/mod/core.xml
+++ b/docs/manual/mod/core.xml
@@ -2825,17 +2825,17 @@ LimitInternalRecursion 5
Restricts the total size of the HTTP request body sent
from the client
LimitRequestBody bytes
-LimitRequestBody 0
+LimitRequestBody 1073741824
server configvirtual host
directory.htaccess
All
+In Apache HTTP Server 2.4.53 and earlier, the default value
+was 0 (unlimited)
- This directive specifies the number of bytes from 0
- (meaning unlimited) to 2147483647 (2GB) that are allowed in a
- request body. See the note below for the limited applicability
- to proxy requests.
+ This directive specifies the number of bytes
+ that are allowed in a request body. A value of 0 means unlimited.
The LimitRequestBody directive allows
the user to set a limit on the allowed size of an HTTP request
@@ -2863,10 +2863,6 @@ from the client
LimitRequestBody 102400
- For a full description of how this directive is interpreted by
- proxy requests, see the mod_proxy documentation.
-
-
diff --git a/docs/manual/mod/mod_proxy.xml b/docs/manual/mod/mod_proxy.xml
index 47fa5d34a24..613491d451a 100644
--- a/docs/manual/mod/mod_proxy.xml
+++ b/docs/manual/mod/mod_proxy.xml
@@ -436,9 +436,6 @@ ProxyPass "/examples" "http://backend.example.com/examples" timeout=10
Content-Length header, but the server is configured to filter incoming
request bodies.
- LimitRequestBody only applies to
- request bodies that the server will spool to disk
-