perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Quatravaux <...@idealx.com>
Subject [PATCH] Minor typo in Apache2::Status
Date Thu, 31 Mar 2005 12:50:09 GMT
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


Mime
View raw message