Author: autarch Date: Fri Jul 7 12:18:30 2006 New Revision: 419960 URL: http://svn.apache.org/viewvc?rev=419960&view=rev Log: Update README via pod2text
Modified: perl/Apache-SizeLimit/trunk/MANIFEST perl/Apache-SizeLimit/trunk/README perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm Modified: perl/Apache-SizeLimit/trunk/MANIFEST URL: http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/MANIFEST?rev=419960&r1=419959&r2=419960&view=diff ============================================================================== --- perl/Apache-SizeLimit/trunk/MANIFEST (original) +++ perl/Apache-SizeLimit/trunk/MANIFEST Fri Jul 7 12:18:30 2006 @@ -11,3 +11,4 @@ t/response/TestApache/basic.pm t/response/TestApache/deprecated.pm t/apache/all.t +META.yml Module meta-data (added by MakeMaker) Modified: perl/Apache-SizeLimit/trunk/README URL: http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/README?rev=419960&r1=419959&r2=419960&view=diff ============================================================================== --- perl/Apache-SizeLimit/trunk/README (original) +++ perl/Apache-SizeLimit/trunk/README Fri Jul 7 12:18:30 2006 @@ -54,8 +54,8 @@ PerlCleanupHandler Apache::SizeLimit - This will ensure that "Apache::SizeLimit->handler()" is called run for - all requests. + This will ensure that "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 "Apache::SizeLimit" is the last handler run: @@ -65,8 +65,9 @@ Remember, mod_perl will run stacked handlers from right to left, as they're defined in your configuration. - You can also explicitly call the "Apache::SizeLimit->handler()" function - from your own cleanup 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 + "Apache::SizeLimit->handler()" function from your own cleanup handler: package My::CleanupHandler @@ -82,9 +83,9 @@ * Apache::SizeLimit->add_cleanup_handler($r) You can call this method inside a request to run - "Apache::SizeLimit"'s "handler()" method for just that request. If - this method is called repeatedly, it ensures that it only every adds - one cleanup handler. + "Apache::SizeLimit"'s "handler()" method for just that request. It's + safe to call this method repeatedly -- the cleanup will only be run + once per request. Checking Every N Requests Since checking the process size can take a few system calls on some Modified: perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm URL: http://svn.apache.org/viewvc/perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm?rev=419960&r1=419959&r2=419960&view=diff ============================================================================== --- perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm (original) +++ perl/Apache-SizeLimit/trunk/lib/Apache/SizeLimit.pm Fri Jul 7 12:18:30 2006 @@ -25,7 +25,7 @@ $USE_SMAPS ); -$VERSION = '0.9'; +$VERSION = '0.9-rc2'; __PACKAGE__->set_check_interval(1);