While unsuccessfully (as of yet) trying to make a test case out of my Apache->server->push_handlers() bug, I noticed that Apache2::Status does Apache->push_handlers() the mod_perl 1 way. Here is a patch that fixes that.
Index: lib/Apache2/Status.pm
===================================================================
--- lib/Apache2/Status.pm (revision 159573)
+++ lib/Apache2/Status.pm (working copy)
@@ -668,7 +668,7 @@
$Apache2::Status::BGraphCache ||= 0;
if ($Apache2::Status::BGraphCache) {
- Apache2->push_handlers(PerlChildExitHandler => sub {
+ Apache2->server->push_handlers(PerlChildExitHandler => sub {
unlink keys %Apache2::Status::BGraphCache;
});
}
--
Dominique QUATRAVAUX Ing�nieur senior
01 44 42 00 08 IDEALX
pgpq2gxHONnmU.pgp
Description: PGP signature
