cleanup_register(..) works but notpush_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?
Louis-David Mitterran[3] [ Do, 12 August 2010 08:16 ] [ ID #2045958 ]
Webserver » gmane.comp.apache.mod-perl » cleanup_register(..) works but notpush_handlers(PerlCleanupHandler ..)

Vorheriges Thema: FreeBSD error
Nächstes Thema: [mp2] mod_perl based captive portal open sourced