Re: Barrier to implementing web content compression in mod_perl

[prev] [thread] [next] [Date index for 2005/01/31]

From: Geoffrey Young
Subject: Re: Barrier to implementing web content compression in mod_perl
Date: 16:01 on 31 Jan 2005

> Can anything be done to address the filter problems in MP1?

not really from the perspective of the mp1 api - we've considered changing
that behavior before, and IIRC philippe even produced a patch, but we
considered it too risky for the stable branch.

that said, we can certainly try to help you, but I don't have a feel for
exactly what's wrong - having use Apache::Filter quite a bit I can't see why
what you're doing won't work.

so, to that end, I'd suggest you try to boil down the breakage into as small
a reproducable test case as possible.  this is a good place to start

  http://perl.apache.org/~geoff/bug-reporting-skeleton-mp1.tar.gz

see the README in there for details, but basically what you want to do is
try to create a simple filter with a simple function that acts as you
describe.  for instance, it looks like you're making two calls to
filter_register and filter_input from within the same handler, but I can't
be sure.  reproducing the error will make great strides on our part in
understanding the issue.  it may also even fix the problem for you ;)

--Geoff

Re: Barrier to implementing web content compression in mod_perl
Geoffrey Young 16:01 on 31 Jan 2005

Generated at 12:39 on 05 Feb 2005 by mariachi v0.52