Hi Lee,

> Hello Rolf,
>
> I think your code below might have a slight bug, I think you need to have
> have the POST_MAX as a parameter to the 'new'.
>
> e.g.
>
> $ah->request_args( Apache2::Request->new( $r, POST_MAX => ( 200 << 20 ))
> );
>
> Instead of the call below:
>
> $ah->request_args( Apache2::Request->new($r), POST_MAX => 200 <<20);
>


yes, typo, however the result is the same :

Wed Sep 17 17:06:59 2008] [error] [client 127.0.0.1] Conflicting information

So, it really looks like I can only define a limit lower than 64M, but not
set it to a higher value.

> Here is the link to the documentation:
>
> http://httpd.apache.org/apreq/docs/l...__request.html
>#new
>
> HTH,
>
> Lee
>
>
>
> ----- Original Message ----
> From: Rolf Schaufelberger
> To: modperl@perl.apache.org
> Sent: Wednesday, September 17, 2008 3:37:07 AM
> Subject: Problem setting POST_MAX
>
> Hi,
>
> when I try to set POST_MAX to a higher value I get
>
> Conflicting information.
>
> I've a mod_perl / Mason app with an own hander, starting with
> (mod_perl2)
>
> sub handler () :method {
> my $class = shift;
> my $r = shift;
> my ($app, $return);
>
> my $args = $ah->request_args( Apache2::Request->new($r),
> POST_MAX => 200 <<20);
> ....
> }
>
> I've also tried to set it via read_limit() with the same result.
> What's wrong ?
>
> rolf




--
Mit freundlichen Grüßen
Rolf Schaufelberger


plusW GmbH
Stutgarter Str. 26 Tel. 49 7183 30 21 36
73635 Rudersberg Fax. 49 7183 30 21 85
www.plusw.de
www.mypixler.com
www.imagewriter.de
www.calendrino.de