help about Apache::Scoreboard

2007-12-12 Thread Jeff Pang
When added these code in my handler: my $r = shift; # We decline to handle subrequests: otherwise, a few lines down we # could get into an infinite loop. return DECLINED unless $r->is_initial_req; # # for limit-ip-conn # my $ip_count = 0; my $limit = $r->dir_config('MaxC

Re: register_cleanup

2007-12-12 Thread Perrin Harkins
On Dec 12, 2007 2:05 PM, Rolf Schaufelberger <[EMAIL PROTECTED]> wrote: > my $r = $self->{__apache_req__}; Yikes, be careful of storing Apache2::RequestRec objects. Terrible things will happen if you try to access one from a previous request. > $r->pool->cleanup_register (\&cleanup, {name=>

Re: CGI->params() should be tainted, right?

2007-12-12 Thread Perrin Harkins
On Dec 1, 2007 12:40 AM, Scott Gifford <[EMAIL PROTECTED]> wrote: > Do any of the mod_perl developers have a comment on this? I'm > surprised it's not generating more feedback. Scott, It certainly is a bug and no one denies it. So far, no one has had the combination of free time and knowledge t

register_cleanup

2007-12-12 Thread Rolf Schaufelberger
Hi, I'm on the way moving my app from mod_perl1 to mod_perl2. The app is build with HTML::Mason an MasonX::WebApp. Now I have a problem when trying to install a cleanup_handler. My expectations are, that the funtcion I call returns to the browser and move some long time computing to a cleanup_ha

Re: Apache::Scoreboard for mp1

2007-12-12 Thread Jeff Pang
Thank you all guys. At first I used mod_limitipconn for limiting ip concurrent connections. But I found it got conflict with my mp handler (the PerlAccessHandler one). So I checked its source (it came with a perl version), and found it's easy to be integrated into my handler.And it used Apache::Sc

Re: Apache::Scoreboard for mp1

2007-12-12 Thread Malcolm
On Wednesday 12 December 2007 4:53:44 am Jeff Pang wrote: > I need Apache::Scoreboard for mp1, where to find it? please help. I thought the current release worked for both versions, but I see that it doesn't (Apache::VMonitor does, but it looks like I never merged the two Apache::Scoreboard rel

Re: Apache::Scoreboard for mp1

2007-12-12 Thread Perrin Harkins
Grab Apache-Scoreboard 0.15 from CPAN. On Dec 12, 2007 4:53 AM, Jeff Pang <[EMAIL PROTECTED]> wrote: > I need Apache::Scoreboard for mp1, where to find it? please help. >

Apache::Scoreboard for mp1

2007-12-12 Thread Jeff Pang
I need Apache::Scoreboard for mp1, where to find it? please help.