On Fri, 22 Oct 1999, Stas Bekman wrote:
 
> To exit upon request completion 
> my $r = shift;
> $r->post_connection(\&exit_child);
> sub exit_child{
>   # some logic here if needed
>   $r->child_terminate;
> }

no need for all that, just call $r->child_terminate at any point in the
request, apache won't actually terminate the child until everything is
done the connection is closed.

Reply via email to