diff options
author | Ruediger Pluem <rpluem@apache.org> | 2013-01-16 16:37:16 +0100 |
---|---|---|
committer | Ruediger Pluem <rpluem@apache.org> | 2013-01-16 16:37:16 +0100 |
commit | 3611dfe9d5a4151488f69d6470954a0ef214fb48 (patch) | |
tree | 38bcfb9d63633b4d6b021111f9c36aeea0d48454 /modules | |
parent | Using the traditional way of declaring Lua functions does not seem to work wi... (diff) | |
download | apache2-3611dfe9d5a4151488f69d6470954a0ef214fb48.tar.xz apache2-3611dfe9d5a4151488f69d6470954a0ef214fb48.zip |
* A limit of zero means unlimited for LimitRequestBody.
PR: 54435
Submitted by: Pavel Mateja <pavel netsafe.cz>
Reviewed by: rpluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1433988 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r-- | modules/proxy/mod_proxy_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxy/mod_proxy_http.c b/modules/proxy/mod_proxy_http.c index 243c9a5e7d..07b5408d3c 100644 --- a/modules/proxy/mod_proxy_http.c +++ b/modules/proxy/mod_proxy_http.c @@ -587,7 +587,7 @@ static int spool_reqbody_cl(apr_pool_t *p, * Let it take effect if we decide to store the body in a * temporary file on disk. */ - if (bytes_spooled + bytes > limit) { + if (limit && (bytes_spooled + bytes > limit)) { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(01088) "Request body is larger than the configured " "limit of %" APR_OFF_T_FMT, limit); |