Geoffrey Young wrote:


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.

rflush() works fine, it's possible that the issue with the streaming filter or some other upstream filter that ignores the flush buckets.


Are you using the latest mod_perl 2.0? It's much appreciated when bug reports are written using the following guidelines:
http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems


Martin, please check the mod_perl 2.0 test suite, it has plenty of examples where it used exactly for the reason you've described.

t/filter/TestFilter/out_bbs_ctx.pm
t/filter/TestFilter/out_str_ctx.pm
t/filter/TestFilter/out_str_declined.pm
t/filter/TestFilter/out_str_remove.pm

If you can break any of these tests, that would be useful.

Otherwise, to debug things use the snooping filter
http://perl.apache.org/docs/2.0/user/handlers/filters.html#All_in_One_Filter

I'm planning to release it on CPAN soonish.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Reply via email to