Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 70701 invoked from network); 6 Jul 2006 17:22:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jul 2006 17:22:24 -0000 Received: (qmail 77741 invoked by uid 500); 6 Jul 2006 17:22:23 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 77692 invoked by uid 500); 6 Jul 2006 17:22:23 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 77677 invoked by uid 99); 6 Jul 2006 17:22:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 10:22:22 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 207.114.11.197 is neither permitted nor denied by domain of perrin@elem.com) Received: from [207.114.11.197] (HELO ns1.plusthree.com) (207.114.11.197) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 10:22:21 -0700 Received: from [10.0.1.201] ([69.10.70.170]) (authenticated bits=0) by ns1.plusthree.com (8.13.1/8.13.1) with ESMTP id k66HLsQK030435 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 6 Jul 2006 13:21:54 -0400 Subject: Re: ANNOUNCE: Apache::SizeLimit 0.90-rc1 From: Perrin Harkins To: Dave Rolsky Cc: dev@perl.apache.org In-Reply-To: References: Content-Type: multipart/mixed; boundary="=-L/GQZuIKdNa4mC6agrwL" Date: Thu, 06 Jul 2006 13:21:57 -0400 Message-Id: <1152206517.15149.30.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-4.fc4) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=-L/GQZuIKdNa4mC6agrwL Content-Type: text/plain Content-Transfer-Encoding: 7bit The changes look good. Thanks! Here are some small doc fixes. - Perrin --=-L/GQZuIKdNa4mC6agrwL Content-Disposition: attachment; filename=SizeLimit.pm.patch Content-Type: text/x-patch; name=SizeLimit.pm.patch; charset=utf-8 Content-Transfer-Encoding: 7bit --- SizeLimit.pm.orig 2006-07-06 13:04:46.000000000 -0400 +++ lib/Apache/SizeLimit.pm 2006-07-06 13:20:35.000000000 -0400 @@ -402,8 +402,8 @@ PerlCleanupHandler Apache::SizeLimit -This will ensure that C<< Apache::SizeLimit->handler() >> is called -run for all requests. +This will ensure that C<< Apache::SizeLimit->handler() >> is run +for all requests. If you want to combine this module with a cleanup handler of your own, make sure that C is the last handler run: @@ -413,7 +413,8 @@ Remember, mod_perl will run stacked handlers from right to left, as they're defined in your configuration. -You can also explicitly call the C<< Apache::SizeLimit->handler() >> +If you have some cleanup code you need to run, but stacked handlers aren't appropriate +for your setup, you can also explicitly call the C<< Apache::SizeLimit->handler() >> function from your own cleanup handler: package My::CleanupHandler @@ -433,8 +434,8 @@ =item * Apache::SizeLimit->add_cleanup_handler($r) You can call this method inside a request to run C's -C method for just that request. If this method is called -repeatedly, it ensures that it only every adds one cleanup handler. +C method for just that request. It's safe to call this method repeatedly -- +the cleanup will only be run once per request. =back --=-L/GQZuIKdNa4mC6agrwL Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org --=-L/GQZuIKdNa4mC6agrwL--