You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Thomas den Braber <th...@delos.nl> on 2006/02/23 13:52:10 UTC
[mp2] libspreq2 2.07 read_limit
I just upgraded from libapreq 2.06dev to 2.07 on a Windows 2003 server and I
get an error: Conflicting information if I set the read_limit above
67108864.
my $req = APR::Request::Apache2->handle($r);
$req->read_limit(60000000); works fine
$req->read_limit(80000000); gives Conflicting information error
If I don't set:
print $req->read_limit(); gives 67108864
Is there some hardcoded limit in libapreq2 ?
Width 2.06dev there was no problem.
Thanks,
Thomas den Braber
Re: [mp2] libspreq2 2.07 read_limit
Posted by Joe Schaefer <jo...@sunstarsys.com>.
"Thomas den Braber" <th...@delos.nl> writes:
> my $req = APR::Request::Apache2->handle($r);
> $req->read_limit(60000000); works fine
> $req->read_limit(80000000); gives Conflicting information error
> If I don't set:
> print $req->read_limit(); gives 67108864
>
> Is there some hardcoded limit in libapreq2 ?
> Width 2.06dev there was no problem.
The readlimit behavior changed in 2.07; the default is 64M
and can only be raised using a server directive, e.g.
APREQ2_ReadLimit 1G
--
Joe Schaefer