You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Louis-David Mitterrand <vi...@apartia.org> on 2010/08/12 08:16:16 UTC
cleanup_register(..) works but not
push_handlers(PerlCleanupHandler ..)
Hi,
Using modperl 2.0.4 and HTML::Mason I noticed the following problem:
$r->push_handlers(PerlCleanupHandler => sub {...})
is not executed, however:
$r->pool->cleanup_register({}, $arg)
works fine.
In both cases I use:
$r->connection()->keepalive(Apache2::Const::CONN_CLOSE);
to avoid any keepalive side effect.
Any idea?