we should keep this on-list :)
Clinton Gormley wrote:
>>it ought to work, but it should be setting a per-server cleanup instead of a
>>per-request cleanup. see below.
>>
>
>
> Doh!
:)
>
>
>
>>basically cleanups are performed when memory allocated for different parts
>>of the server lifecyc
> it ought to work, but it should be setting a per-server cleanup instead of a
> per-request cleanup. see below.
>
Doh!
> basically cleanups are performed when memory allocated for different parts
> of the server lifecycle is destroyed. so, httpd allocates memory for the
> server, per-config
Clinton Gormley wrote:
> Am I missing something here. Can PerlCleanupHandlers be setup at
> startup with :
>
> Apache2::ServerUtil->server->push_handlers(PerlCleanupHandler=>\&cleanup);
>
> I have successfully got a cleanup handler working using:
>
> - PerlCleanupHandler My::Package (in th
Am I missing something here. Can PerlCleanupHandlers be setup at
startup with :
Apache2::ServerUtil->server->push_handlers(PerlCleanupHandler=>\&cleanup);
I have successfully got a cleanup handler working using:
- PerlCleanupHandler My::Package (in the config file), or
- $r->push_handler