APREQ2_ReadLimit fails to override max_body limit

APREQ2_ReadLimit fails to override max_body limit

am 12.10.2009 19:01:38 von Reuben Martin

Hello,

I need help with using apreq2. I'm programming a rails app for
uploading large files and I'm trying to offload the grunt work to
apreq2 so that long upload processes don't deplete my ruby thread pool
in mod_passenger.

There is a lightweight wrapper I'm using called mod_porter that
provides the ruby API and the bridge between apreq2 and rails.
http://github.com/actionrails/modporter


I have APREQ2_ReadLimit set to 2G in my config, however uploads are
still being limited to the default 64M:

Internal error: Content-Length header (xxx) exceeds configured
max_body limit (67108864)

I've read that setting this value overrides the default limits, but
that is obviously net yet the case with my current setup.

Is there anything I've missed? A bug?

This is running off a Gentoo system,
apache 2.2.13
libapreq2-2.12
mod_apreq2-20090110/2.7.1


-Reuben

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org