Re: $bb,$b, PerlOutputFilterHandler and $rv = $f->pass_brigade($bb);

2004-12-18 Thread eps com estem
I've tested this another option: -- sub handler : FilterRequestHandler { my($f, $bb) = @_; $bb->flatten(my $data); $bb->cleanup(); $this->blogum_filter(\$data,$f->r,$f->c); my $bb_ctx = APR::Brigade->new($f->c->pool, $f->c->bucket_alloc); my $b = APR::Bucket->

Re: $bb,$b, PerlOutputFilterHandler and $rv = $f->pass_brigade($bb);

2004-12-18 Thread Joe Schaefer
"eps com estem" <[EMAIL PROTECTED]> writes: [...] > 1)- First thing is that if i am creating a new bucket for a new > brigade, the line >my $b = APR::Bucket->new($bb->bucket_alloc,$data); > should be >my $b = APR::Bucket->new($bb_ctx->bucket_alloc,$data); > or that's what i think(?). M

Re: Re: $bb,$b, PerlOutputFilterHandler and $rv = $f->pass_brigade($bb);

2004-12-19 Thread eps com estem
Thanks for the responses. I have been coding, these are theresults: -- sub handler : FilterRequestHandler { my($f, $bb) = @_; A) $bb->flatten(my $data); $bb->destroy(); $this->blogum_filter(\$data,$f->r,$f->c); my $bb_ctx = APR::Brigade->new($f->c->pool, $f->c->bucket_al