Bug 44758 - LimitRequestBody undocumented behaviour with proxied requests
LimitRequestBody undocumented behaviour with proxied requests
Status: NEW
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy_http
2.5-HEAD
All All
: P2 enhancement with 3 votes (vote)
: ---
Assigned To: Apache HTTPD Bugs Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-04-04 08:54 UTC by Daniele Paolella
Modified: 2011-02-02 09:12 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.