The changes look good. Thanks! Here are some small doc fixes.
- Perrin
--- 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<Apache::SizeLimit> 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<Apache::SizeLimit>'s
-C<handler()> method for just that request. If this method is called
-repeatedly, it ensures that it only every adds one cleanup handler.
+C<handler()> method for just that request. It's safe to call this method repeatedly --
+the cleanup will only be run once per request.
=back
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]