cleanup_register(..) works but not push_handlers(PerlCleanupHandler ..)
Louis-David Mitterrand <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <[email protected]> |
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?