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);

Here is the link to the documentation:

http://httpd.apache.org/apreq/docs/libapreq2/group__apreq__xs__request.html#new

HTH,

Lee



----- Original Message ----
From: Rolf Schaufelberger <[EMAIL PROTECTED]>
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

Reply via email to