From: Tom Evans <tevans.uk@xxxxxxxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx
Cc: Anurag Gujral <anurag_gujral@xxxxxxxxx>
Sent: Thursday, November 13, 2008 6:10:40 AM
Subject: Re: function modulename_child_exit in apache 2.0
On Thu, 2008-11-13 at 04:49 -0800, Anurag Gujral wrote:
> Hi All,
> I need to call function modulename_child_exit in apache
> 2.0 to free resources that are allocated in
> modulename_child_init. How should I use that function so that it gets
> called only when child dies.
>
> Plz Comment
>
> Thanks
> Anurag
>
When you allocate resources, you should register a cleanup function for
them and tie it to the configuration pool.
See
http://www.apachetutor.org/dev/pools and
http://wiki.apache.org/httpd/ModuleLifeCheers
Tom
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:
http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail:
users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest:
users-digest-unsubscribe@xxxxxxxxxxxxxxxxFor additional commands, e-mail:
users-help@xxxxxxxxxxxxxxxx