Re: Terminating Child process Dynamically

2012-03-07 Thread Torsten Förtsch
On Friday, 02 March 2012 13:49:34 Perrin Harkins wrote: You can use $r--child_terminate(). 2 remarks: 1) you can use this method at any point in the request cycle. It marks the process to be terminated when the current request is done. 2) the way child_terminate() exits is quite nasty because

Re: Terminating Child process Dynamically

2012-03-07 Thread Perrin Harkins
- Perrin On Mar 7, 2012 7:00 AM, Torsten Förtsch torsten.foert...@gmx.net wrote: On Friday, 02 March 2012 13:49:34 Perrin Harkins wrote: You can use $r--child_terminate(). 2 remarks: 1) you can use this method at any point in the request cycle. It marks the process to be terminated when

Apache::compat and new Perl

2012-03-07 Thread Josh Narins
Do I need mod_perl1 installed to get Apache::compat and mod_perl2 to work? mp2 will be using a different Perl, and I'd prefer not to install it if I don't have to. Josh Narins Director of Application Development SeniorBridge 845 Third Ave 7th Floor New York, NY 10022 Tel: (212) 994-6194 Fax:

Re: Terminating Child process Dynamically

2012-03-07 Thread Torsten Förtsch
On Wednesday, 07 March 2012 08:06:37 Perrin Harkins wrote: It doesn't call perl_destruct()? I thought it did in mod_perl 1 Yes, in mp1 it did. Not so in mp2. static apr_status_t child_terminate(void *data) { apr_pool_t *pool = (apr_pool_t *)data; /* On the first pass, re-register so

Re: Funding [WAS :Re: trying to compile mod_perl against httpd-2.4.1]

2012-03-07 Thread Torsten Förtsch
On Tuesday, 28 February 2012 18:14:20 Vincent Veyron wrote: I am a tiny one-man company using mod_perl with great success(*) and pleasure, and your post has me very worried that it could end in a hurry So am I and so are many (perhaps most) of the other contributors. What I am trying to say

Re: Apache::compat and new Perl

2012-03-07 Thread Fred Moyer
On Wed, Mar 7, 2012 at 5:46 AM, Josh Narins jnar...@seniorbridge.com wrote: Do I need mod_perl1 installed to get Apache::compat and mod_perl2 to work? mp2 will be using a different Perl, and I'd prefer not to install it if I don't have to. You should be fine without mp1, but remember you'll

Re: Terminating Child process Dynamically

2012-03-07 Thread Perrin Harkins
2012/3/7 Torsten Förtsch torsten.foert...@gmx.net: Yes, in mp1 it did. Not so in mp2. Oh, I see this was covered on the dev list. It doesn't call perl_destruct() because it may be running under threads, which mp1 didn't need to worry about. - Perrin