Author: pgollucci Date: Tue Aug 22 23:42:33 2006 New Revision: 433939 URL: http://svn.apache.org/viewvc?rev=433939&view=rev Log: 2.x series only works with the prefork(non-threaded mpms)
Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit2.pm Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit2.pm URL: http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit2.pm?rev=433939&r1=433938&r2=433939&view=diff ============================================================================== --- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit2.pm (original) +++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit2.pm Tue Aug 22 23:42:33 2006 @@ -19,9 +19,13 @@ use Config; use Apache2::RequestUtil (); +use Apache2::MPM (); use Apache2::Const -compile => qw (DECLINED OK); use ModPerl::Util (); + +die "Apache2::SizeLimit at the moment works only with non-threaded MPMs" + if Apache2::MPM->is_threaded(); use constant IS_WIN32 => $Config{'osname'} eq 'MSWin32' ? 1 : 0;