summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2022-06-01 12:31:48 +0000
committerEric Covener <covener@apache.org>2022-06-01 12:31:48 +0000
commitce259c4061905bf834f9af51c92456cfe8335ddc (patch)
treedebc00dcfee4dc4756c18ddaa5d7b3c2da71a6e7 /server
parent1a09953b2439f94714feb03358b793ccbae8a2ca (diff)
downloadhttpd-ce259c4061905bf834f9af51c92456cfe8335ddc.tar.gz
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
Diffstat (limited to 'server')
-rw-r--r--server/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/core.c b/server/core.c
index 090e397642..e1493fd409 100644
--- a/server/core.c
+++ b/server/core.c
@@ -67,7 +67,7 @@
/* LimitRequestBody handling */
#define AP_LIMIT_REQ_BODY_UNSET ((apr_off_t) -1)
-#define AP_DEFAULT_LIMIT_REQ_BODY ((apr_off_t) 0)
+#define AP_DEFAULT_LIMIT_REQ_BODY ((apr_off_t) 1<<30) /* 1GB */
/* LimitXMLRequestBody handling */
#define AP_LIMIT_UNSET ((long) -1)