On Wednesday 02 May 2007 14:41, you wrote:
> what should the exact semantic of a PerlCleanupHandler be when
> PerlInterpScope==handler?
>
> I am not asking what it is but what it should be.
And are cleanups to be run once per request or once per interpreter?
Torsten
pgp62
Hi,
what should the exact semantic of a PerlCleanupHandler be when
PerlInterpScope==handler?
I am not asking what it is but what it should be.
A PerlCleanupHandler can be installed in httpd.conf or via $r->add_config or
by $r->{push|set}_handlers.
a) all cleanup handlers are called wh
nd similar bug. Try
$r->push_handlers(PerlCleanupHandler=>'some_named_function')
from a TranslationHandler or so.
modperl_interp_unselect calls modperl_config_request_cleanup -->
modperl_config_request_cleanup --> modperl_callback_per_dir -->
modperl_callback_run_handlers
On Fri, 7 Jun 2002, Stas Bekman wrote:
> what's the plan for PerlCleanupHandler in 2.0? (the usual question of
> whether to document it or not :)
plan is to add support for it.
> I understand that in 2.0 since now we have a pool that gets destroyed at
> the end of each r
what's the plan for PerlCleanupHandler in 2.0? (the usual question of
whether to document it or not :)
I understand that in 2.0 since now we have a pool that gets destroyed at
the end of each request, we simply use:
$r->pool->cleanup_register(\&cleanup_callback, $data);
a