On Tue, Mar 29, 2016 at 1:39 PM, Tony Abo wrote:
>> > Is there a way to run some cleanup code in a module when the server is
>> being stopped, but not being restarted? Or, can a cleanup handler in a loaded
>> module determine whether the server is being shut down or restarted?
>>
>> With 2.4.x, yo
> > Is there a way to run some cleanup code in a module when the server is
> being stopped, but not being restarted? Or, can a cleanup handler in a loaded
> module determine whether the server is being shut down or restarted?
>
> With 2.4.x, you could use the ap_pglobal pool.
>
> Beware this shou
On Tue, Mar 29, 2016 at 9:40 AM, Yann Ylavic wrote:
> On Tue, Mar 29, 2016 at 3:01 AM, Tony Abo wrote:
>>
>> Is there a way to run some cleanup code in a module when the server is being
>> stopped, but not being restarted? Or, can a cleanup handler in a loaded
>> module determine whether the se
On Tue, Mar 29, 2016 at 3:01 AM, Tony Abo wrote:
>
> Is there a way to run some cleanup code in a module when the server is being
> stopped, but not being restarted? Or, can a cleanup handler in a loaded
> module determine whether the server is being shut down or restarted?
With 2.4.x, you coul
I have a DSO module which establishes a custom handler. The handle fires up
external process which perform the work for certain requests. Those processes
contain a lot of state information for user application sessions. We want to
have some cleanup code that will shutdown those processes cleanly