Martin Wickman wrote:

Just checking that this did not get lost on the way. Anyone care to give me a hint?


On Thu, Jul 31, 2003 at 10:17:06PM +0200, Martin Wickman wrote:


Hello

According to docs[1], $r->rflush() should create a new brigade with
data. It does not.

I've seen this also, but was never able to isolate a cause.




It seems the docs and/or my understanding of this is in error.



This is with: Apache/2.0.47 (Debian GNU/Linux) mod_perl/1.99_07-dev Perl/v5.8.0

And I am using the streaming filter api.

[1] http://perl.apache.org/docs/2.0/user/handlers/filters.html#Multiple_Invocations_of_Filter_Handlers


Long version below: ------------------

I have tried to make my outputfilter clever enough so it can handle
being called several times, with tags potentially split between
several brigades.

see the code and tests from


http://www.modperlcookbook.org/~geoff/perl.com/Apache-Clean-2.0.tar.gz

which should give you more ideas about how to code this (and how I tested long input values)

the corresponding articles might help:

http://www.perl.com/pub/a/2003/04/17/filters.html
http://www.perl.com/pub/a/2003/05/22/testing.html

I've been meaning to chat with stas about the rflush for a while now. perhaps we can prioritize it :)

--Geoff





Reply via email to