Practical mod_perl / HTML Book /



previous page: A.12. Singleton Database Handles
  
page up: HTML Version of the book
  
next page: A.14. References

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.

 

Continue to:

  • prev: A.12. Singleton Database Handles
  • Table of Contents
  • next: A.14. References







TOP
previous page: A.12. Singleton Database Handles
  
page up: HTML Version of the book
  
next page: A.14. References


Menu

  • HTML Book
  • PDF Book
  • Download Code
  • Table of Contents
  • Errata
  • mod_perl2 User's Guide
  • Sitemap

Search


Add to Google




Creative Commons License


Written by
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).


[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007 StasoSphere.com