perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: Apache::SizeLimit for mp2?
Date Mon, 06 Dec 2004 16:34:47 GMT
Hi Perrin,

I've massaged a bit more the ported, but I've a question 

sub setmax {
     $MAX_PROCESS_SIZE = shift;
     my $r = Apache->request();

and similar:

sub setmin {
sub setmax_unshared {

Since Apache->request() is not longer available by default, should we 
change the API to pass $r as the first argument? or may be the second?

setmax($MAX_PROCESS_SIZE, $r);
setmax($MAX_PROCESS_SIZE); # here will try to use Apache->request()

I suppose this is a better approach, since it won't break the existing 
code, making $r optional.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message