Re: Does mod_perl-2.0.4 support threads?

2012-12-14 Thread Perrin Harkins
All of the 2.x series supports threads. Your Perl has to be compiled for threads though. - Perrin On Fri, Dec 14, 2012 at 2:58 AM, Grant emailgr...@gmail.com wrote: I'm stuck on mod_perl-2.0.4 for now and I'm seeing something in Gentoo which makes me think it doesn't support threads. Is

setHandler question

2012-12-14 Thread André Warnier
Hi. Quite a while ago (2008), this discussion on the list : http://marc.info/?l=apache-modperlm=122399752819709w=2 was about how to, within a PerlAuthenHandler, override the ResponseHandler which would normally kick in later in the cycle, and force it to be mod_perl and a specific (other)

Re: setHandler question

2012-12-14 Thread Ryan Gies
On 12/14/2012 8:52 AM, André Warnier wrote: I suppose that in the end I will want to do something like this : my $finfo = $r-finfo(); # do something to $finfo to set the flag $r-finfo($finfo); $r-handler('modperl'); $r-set_handlers(PerlResponseHandler = \_my_response_handler); but how do I do

Re: setHandler question

2012-12-14 Thread André Warnier
Ryan Gies wrote: On 12/14/2012 8:52 AM, André Warnier wrote: I suppose that in the end I will want to do something like this : my $finfo = $r-finfo(); # do something to $finfo to set the flag $r-finfo($finfo); $r-handler('modperl'); $r-set_handlers(PerlResponseHandler = \_my_response_handler);

Re: Does mod_perl-2.0.4 support threads?

2012-12-14 Thread Grant
All of the 2.x series supports threads. Your Perl has to be compiled for threads though. - Perrin Thank you for clearing that up. - Grant I'm stuck on mod_perl-2.0.4 for now and I'm seeing something in Gentoo which makes me think it doesn't support threads. Is that true? - Grant

2.0.4 works, 2.0.7 doesn't

2012-12-14 Thread Grant
I'm using Interchange::Link for linking mod_perl to Interchange ( icdevgroup.org). It works with 2.0.4 but breaks with 2.0.7. Someone told me they tracked it down to line 684: while( SOCK ) { https://github.com/interchange/interchange/blob/master/dist/src/mod_perl2/Interchange/Link.pm I know

Re: setHandler question

2012-12-14 Thread Ryan Gies
On 12/14/2012 3:29 PM, André Warnier wrote: Ryan Gies wrote: On 12/14/2012 8:52 AM, André Warnier wrote: I suppose that in the end I will want to do something like this : my $finfo = $r-finfo(); # do something to $finfo to set the flag $r-finfo($finfo); $r-handler('modperl');

A question for security

2012-12-14 Thread Feng He
Hi, Though this is nothing about modperl but a security question about the development environment. I use bitbucket.org's private git hosting for my project development. I just git clone the repo dir from the remote orginal. And I will use directly this dir as app directory ( my handlers,