stas 2003/03/18 15:31:40
Modified: src/docs/2.0/user/handlers filters.pod Log: things to do Revision Changes Path 1.21 +15 -0 modperl-docs/src/docs/2.0/user/handlers/filters.pod Index: filters.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/handlers/filters.pod,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- filters.pod 11 Mar 2003 06:31:44 -0000 1.20 +++ filters.pod 18 Mar 2003 23:31:39 -0000 1.21 @@ -1620,6 +1620,21 @@ $filter->r->headers_out->unset('Content-Length'); ] + +[ + +Need to document somewhere (concepts?) that the buckets should never +be modified directly, because the filter can't know ho else could be +referencing it at the same time. (shared mem/cache/memory mapped +files are examples on where you don't want to modify the +data). Instead the data should be moved into a new bucket. + +Also it looks like we need to $b->destroy (need to add the API) in +addition to $b->remove. Which can be done in one stroke using +$b->delete (need to add the API). + +] + =head1 Writing Efficient Filters META: to be written