Bug 44758

Summary: LimitRequestBody undocumented behaviour with proxied requests
Product: Apache httpd-2 Reporter: Daniele Paolella <dp>
Component: mod_proxy_httpAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: enhancement    
Priority: P2    
Version: 2.5-HEAD   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Daniele Paolella 2008-04-04 08:54:21 UTC
LimitRequestBody core directive is not applied with proxied requests. Whether it is an intended feature or not, core or proxy docs should explicitly state this behaviour.
Comment 1 Rich Bowen 2010-10-29 11:07:21 UTC
Moving docs bugs to docs@httpd.a.o ownership.
Comment 2 Nick Kew 2011-02-02 07:36:01 UTC
Interesting.

I've just fixed this in r1066444 .

But it raises the question over whether this would make a worthwhile proxy enhancement.  Don't see why it shouldn't be enabled in a proxy, provided of course it's not defaulting to a limit.  Hijacking your PR to an enhancement request!

But that's for trunk, not 2.2.x.
Comment 3 Ruediger Pluem 2011-02-02 08:46:04 UTC
In trunk LimitRequestBody already applies if the body is temporarily spooled to disk (r999288).
Comment 4 Nick Kew 2011-02-02 09:12:58 UTC
(In reply to comment #3)
> In trunk LimitRequestBody already applies if the body is temporarily spooled to
> disk (r999288).

Yes, I saw that.  The enhancement is to enable it for all cases, for cases where the proxy is configured explicitly for a backend that wants to limit request bodies.