Name
ap_cleanup_for_exec — clear all pools in preparation for an exec
Synopsis
void ap_cleanup_for_exec(void)
Destroys all pools using the child_cleanup
methods. Needless to say, this should only be done after forking and
before running a (nonserver) child. Calling this in a running server
certainly stops it from working! Note that on Win32 this actually
does nothing on the slightly dubious grounds that we
aren’t forked. Unfortunately, there
isn’t really much alternative.
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.