Re: Upgrade to Apache 2.4 breaks encoding in a PerlOutputFilterHandler

Jie Gao <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
* Vincent Veyron <[email protected]> wrote:

> Date: Fri, 29 May 2015 19:13:50 +0200
> From: Vincent Veyron <[email protected]>
> To: "Kevin A. McGrail" <[email protected]>
> CC: [email protected]
> Subject: Re: Upgrade to Apache 2.4 breaks encoding in a
>  PerlOutputFilterHandler
> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.10; i486-pc-linux-gnu)
> 
> 
> I found the problem : it appears mod_deflate now runs _before_ my PerlOutputFilterHandler, which then gets gzip encoded content. 
> 
> Disabling mod_deflate fixes it, but this was not necessary in Apache 2.2. Something must have changed in the priority type of the modules.

Well, check out this: https://perl.apache.org/docs/2.0/user/handlers/filters.html#C_PerlOutputFilterHandler_ .


Regards,


Jie
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.