Author: pgollucci Date: Mon Mar 26 08:19:01 2007 New Revision: 522543 URL: http://svn.apache.org/viewvc?view=rev&rev=522543 Log: apply http://svn.apache.org/viewvc?view=rev&revision=428211 on top of the new trunk
Modified: perl/Apache-SizeLimit/trunk/Changes perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm Modified: perl/Apache-SizeLimit/trunk/Changes URL: http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/Changes?view=diff&rev=522543&r1=522542&r2=522543 ============================================================================== --- perl/Apache-SizeLimit/trunk/Changes (original) +++ perl/Apache-SizeLimit/trunk/Changes Mon Mar 26 08:19:01 2007 @@ -8,6 +8,10 @@ =item 0.9 2006-07-12 +Fix Can't call method "child_terminate" on an undefined value +By add_cleanup_handler() pass $r to _exit_if_to_big() via shift +[David Wheeler <[EMAIL PROTECTED]>] + Copied from the mod_perl 1 core for an independent CPAN release. [Philip M. Gollucci <[EMAIL PROTECTED]>] Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm URL: http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm?view=diff&rev=522543&r1=522542&r2=522543 ============================================================================== --- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm (original) +++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm Mon Mar 26 08:19:01 2007 @@ -92,7 +92,7 @@ # PerlCleanupHandler phase. That means that there's no way to use # $r->get_handlers() to check the results of calling this method. $r->push_handlers( 'PerlCleanupHandler', - sub { $class->_exit_if_too_big() } ); + sub { $class->_exit_if_too_big(shift) } ); $r->pnotes( size_limit_cleanup => 1 ); }