httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject Re: mod_perl and exit
Date Sun, 03 Aug 1997 10:42:08 GMT
On Sat, 2 Aug 1997, Doug MacEachern wrote:

> With the patch below, mod_perl's exit() will jump out of a callback
> without the C-level exit.
> I show you this patch for two reasons.  First, to give you an idea of
> why I put this off for so long.  Two, and more import, now that I can
> jump out of a callback and maintain Perl interpreter sanity, how
> should I terminate the child process?  Is there a need for some kind
> of child_done() routine?  Or a new handler return code, say
> `TERMINATE' which tells httpd to finish up logging, protocol,
> child_exit, etc.?  I know I could hack something together that would
> do for now, but I think it would make sense to have a one-step
> function or return code so modules who need to shutdown a child don't
> have to be tracking future additions to the post-handler stages of a
> request. 
> 
> Actually, I'd be happy to leave the way it is and not do a C-level
> exit, but then I'm taking away Rob's "recover memory" trick, do you
> still use that Rob?   

I don't, but others might.



Mime
View raw message