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->
"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
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