Re: setting http output filter priority?

[prev] [thread] [next] [Date index for 2005/04/07]

From: Jeff Ambrosino
Subject: Re: setting http output filter priority?
Date: 19:32 on 07 Apr 2005
I'm logging some closure to this one...  I was able to get this to
work by modifying the priorities of
mod_perl/src/modules/perlmod_perl.c's http output filter to
AP_FTYPE_CONTENT_SET-1, and then
httpd-2.0.53/modules/experimental/mod_cache.c's cache_save and
cache_out filter to AP_FTYPE_CONTENT_SET-2.  Everything works! :)

Note this change impacts all mod_perl apps running on your system. 
There are no other conflicts with Apache's built-in handlers and
filters that I could see, although that could change in the future.  I
also think it might be a useful feature to be able to set mod_perl's
filter priority either programmatically, or at least as a compile-time
option.

thanks
Jeff


On Apr 2, 2005 9:09 AM, Geoffrey Young <geoff@xxxxxxxxxxxxxxx.xxx> wrote:
> 
> > So, mod_perl.c could register as AP_FTYPE_CONTENT, and mod_deflate.c could
> > register as AP_FTYPE_CONTENT_SET+1. I think this is the least invasive
> > change to get
> > things working...  do you concur?
> 
> off the top of my head that looks ok.  I just hope it doesn't muck with any
> additional filters you may need later on.
> 
> good luck :)
> 
> --Geoff
>

(message missing)

setting http output filter priority?
Jeff Ambrosino 01:03 on 01 Apr 2005

Re: setting http output filter priority?
Geoffrey Young 01:11 on 01 Apr 2005

Re: setting http output filter priority?
Jeff Ambrosino 23:13 on 01 Apr 2005

Re: setting http output filter priority?
Geoffrey Young 00:02 on 02 Apr 2005

Re: setting http output filter priority?
Jeff Ambrosino 03:12 on 02 Apr 2005

Re: setting http output filter priority?
Geoffrey Young 13:09 on 02 Apr 2005

Re: setting http output filter priority?
Jeff Ambrosino 19:32 on 07 Apr 2005

Re: setting http output filter priority?
Geoffrey Young 20:17 on 07 Apr 2005

Generated at 14:43 on 11 Apr 2005 by mariachi v0.52