httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrej van der Zee <andrejvander...@gmail.com>
Subject Re: post_config on reload
Date Fri, 13 Mar 2009 16:00:33 GMT
Hi,


Register a function with the cleanup of the conf pool. The conf pool
>> is destroyed prior to a restart/kill/reload.
>>
>> You have an example in the code I've sent you.
>>
>> S
>>
>>
>>
> Perfect answer!  Unfortunately, the post_config is called twice on a
> restart, and with different memory pointers, so shared memory handles,
> mutexes, etc, those will all suddenly disappear.  You'd be forced to
> initialize your post_config again or potentially segmentation fault the
> server.  So, that is a good excuse to implement some extra code to handle
> restarting a thread anyway.
>
>
Thanks, one less choice to make :)

Greets,
Andrej

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message