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?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.