Re: Problem setting POST_MAX

This is a discussion on Re: Problem setting POST_MAX within the Apache forums in Application Servers & Tools category; 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 ...

Go Back   Application Development Forum > Application Servers & Tools > Apache

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-17-2008, 11:11 AM
Rolf Schaufelberger
Guest
 
Default Re: Problem setting POST_MAX

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 <rs@plusw.de>
> 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

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 07:34 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.