You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2013/01/16 15:30:29 UTC

[Bug 54435] New: LimitRequestBody ignores special value 0 - unlimited in mod_proxy_http

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


[Bug 54435] LimitRequestBody ignores special value 0 - unlimited in mod_proxy_http

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54435

Christophe JAILLET <ch...@wanadoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |csudron@denyall.com

--- Comment #3 from Christophe JAILLET <ch...@wanadoo.fr> ---
*** Bug 54039 has been marked as a duplicate of this bug. ***

-- 
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


[Bug 54435] LimitRequestBody ignores special value 0 - unlimited in mod_proxy_http

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54435

Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Ruediger Pluem <rp...@apache.org> ---
Backport to 2.4.x as r1436443.

-- 
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


[Bug 54435] LimitRequestBody ignores special value 0 - unlimited in mod_proxy_http

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54435

Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk,
                   |                            |PatchAvailable

--- Comment #1 from Ruediger Pluem <rp...@apache.org> ---
Thanks for the patch. Committed to trunk as r1433988.

-- 
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