In the current mp2 svn, Apache::SizeLimit uses
Apache2->request - should that be
Apache2::RequestUtil->request?

===================================================
Index: lib/Apache2/SizeLimit.pm
===================================================================
--- lib/Apache2/SizeLimit.pm    (revision 161613)
+++ lib/Apache2/SizeLimit.pm    (working copy)
@@ -189,7 +189,7 @@
 # to exit if the CGI causes the process to grow too big.
 sub setmax {
     $MAX_PROCESS_SIZE = shift;
-    my $r = shift || Apache2->request();
+    my $r = shift || Apache2::RequestUtil->request();
     unless ($r->pnotes('size_limit_cleanup')) {
         $r->pool->cleanup_register(\&exit_if_too_big, $r);
         $r->pnotes('size_limit_cleanup', 1);
@@ -198,7 +198,7 @@

 sub setmin {
     $MIN_SHARE_SIZE = shift;
-    my $r = shift || Apache2->request();
+    my $r = shift || Apache2::RequestUtil->request();
     unless ($r->pnotes('size_limit_cleanup')) {
         $r->pool->cleanup_register(\&exit_if_too_big, $r);
         $r->pnotes('size_limit_cleanup', 1);
@@ -207,7 +207,7 @@

 sub setmax_unshared {
     $MAX_UNSHARED_SIZE = shift;
-    my $r = shift || Apache2->request();
+    my $r = shift || Apache2::RequestUtil->request();
     unless ($r->pnotes('size_limit_cleanup')) {
         $r->pool->cleanup_register(\&exit_if_too_big, $r);
         $r->pnotes('size_limit_cleanup', 1);

Property changes on: lib/Apache2/SizeLimit.pm
___________________________________________________________________
Name: svn:eol-style
   + native

===================================================================

-- 
best regards,
randy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to