Re: [MP2] Apache2::Request trouble with POST_MAX

2006-06-01 Thread Garrison Hoffman
Philip M. Gollucci wrote: Apparently POST_MAX cannot be used to raise APREQ_DEFAULT_READ_LIMIT Yes, thats the if (ctx->read_limit > bytes && ctx->bytes_read < bytes) { ctx->read_limit = bytes; return APR_SUCCESS; } OTHERWISE conflicting Ok, now I understand. ht

Re: [MP2] Apache2::Request trouble with POST_MAX

2006-06-01 Thread Philip M. Gollucci
Garrison Hoffman wrote: Philip M. Gollucci wrote: #define APREQ_DEFAULT_READ_LIMIT (64 * 1024 * 1024) is the default. Ack! Of course, and I apologize for misleading you. my $POST_MAX = 1024*1024*10; # Works fine my $POST_MAX = 1024*1024*100; # Conflicting Apparently POST_MAX cannot be us

Re: [MP2] Apache2::Request trouble with POST_MAX

2006-06-01 Thread Garrison Hoffman
Philip M. Gollucci wrote: #define APREQ_DEFAULT_READ_LIMIT (64 * 1024 * 1024) is the default. Ack! Of course, and I apologize for misleading you. my $POST_MAX = 1024*1024*10; # Works fine my $POST_MAX = 1024*1024*100; # Conflicting Apparently POST_MAX cannot be used to raise APREQ_DEFAULT

Re: [MP2] Apache2::Request trouble with POST_MAX

2006-06-01 Thread Jonathan Vanasco
On Jun 1, 2006, at 2:12 PM, Clinton Gormley wrote: my $req = APR::Request::Apache2->handle($r); $req->read_limit($Read_Limit); $req->parse(); if ($req->body_status eq 'Exceeds configured maximum limit') { die('Body exceeds max upload size');

Re: [MP2] Apache2::Request trouble with POST_MAX

2006-06-01 Thread Clinton Gormley
On Thu, 2006-06-01 at 12:59 -0400, Garrison Hoffman wrote: > I've tried numerous variations, but can't get POST_MAX to work properly. > Everything works fine without it. > > my $POST_MAX = 1024*1024*10; > my $req = Apache2::Request->new($r, POST_MAX => $POST_MAX); > > The error log tells me on

Re: [MP2] Apache2::Request trouble with POST_MAX

2006-06-01 Thread Philip M. Gollucci
Garrison Hoffman wrote: I've tried numerous variations, but can't get POST_MAX to work properly. Everything works fine without it. my $POST_MAX = 1024*1024*10; my $req = Apache2::Request->new($r, POST_MAX => $POST_MAX); The error log tells me only "Conflicting information", which seems excee