Return-Path: Delivered-To: apmail-perl-modperl-cvs-archive@www.apache.org Received: (qmail 10499 invoked from network); 23 Aug 2006 06:43:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2006 06:43:07 -0000 Received: (qmail 89258 invoked by uid 500); 23 Aug 2006 06:42:58 -0000 Delivered-To: apmail-perl-modperl-cvs-archive@perl.apache.org Received: (qmail 89231 invoked by uid 500); 23 Aug 2006 06:42:58 -0000 Mailing-List: contact modperl-cvs-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@perl.apache.org List-Id: Delivered-To: mailing list modperl-cvs@perl.apache.org Received: (qmail 88638 invoked by uid 99); 23 Aug 2006 06:42:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 23:42:57 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 23:42:56 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id B93721A981A; Tue, 22 Aug 2006 23:42:35 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r433939 - /perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit2.pm Date: Wed, 23 Aug 2006 06:42:35 -0000 To: modperl-cvs@perl.apache.org From: pgollucci@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060823064235.B93721A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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;