Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change 
notification.

The following page has been changed by MarcMongenet:
http://wiki.apache.org/httpd/ModuleLife

------------------------------------------------------------------------------
   * On restart and graceful restart, the module is unloaded and reloaded/init, 
and the post_config hook is called one time.
  
  == 1st and next post_config calls ==
- In the post_config hook, we use apr_pool_userdata_get/set to detect if we are 
called for the first time or not. Using a static variable does not work because 
the module may be unloaded/reloaded between the two calls.
+ In the post_config hook, we use apr_pool_userdata_get/set on the process pool 
to detect if we are called for the first time or not. Using a static variable 
does not work because the module may be unloaded/reloaded between the two 
calls. The process pool is not torn down between cycles.
  
  {{{
  static int my_module_post_config(apr_pool_t *p, apr_pool_t *plog,

Reply via email to