httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54435] New: LimitRequestBody ignores special value 0 - unlimited in mod_proxy_http
Date Wed, 16 Jan 2013 14:30:29 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54435

            Bug ID: 54435
           Summary: LimitRequestBody ignores special value 0 - unlimited
                    in mod_proxy_http
           Product: Apache httpd-2
           Version: 2.4.3
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: mod_proxy_http
          Assignee: bugs@httpd.apache.org
          Reporter: pavel@netsafe.cz
    Classification: Unclassified

Documentation "http://httpd.apache.org/docs/2.4/mod/core.html#limitrequestbody"
says:
Default:    LimitRequestBody 0
..
This directive specifies the number of bytes from 0 (meaning unlimited) to
2147483647 (2GB) that are allowed in a request body.

This works in apache 2.2.
But this is not tue for proxy requests anymore. Apache 2.4 uses MAX_MEM_SPOOL
instead.
I think there should be something like
if (limit && (bytes_spooled + bytes > limit)) {
in ./modules/proxy/mod_proxy_http.c on line 590

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message