Practical mod_perlPractical mod_perlSearch this book

A.13. Terminating a Child Process on Request Completion

If you want to terminate the child process upon completion of processing the current request, use the child_terminate( ) method anywhere in the code:

$r->child_terminate;

Apache won't actually terminate the child until everything it needs to do is done and the connection is closed.



Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.