httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <>
Subject Re: [PATCH] mod_xml2enc eats end of file
Date Fri, 02 Nov 2012 16:19:54 GMT
Thx for the report and the patch... Will review.

On Nov 2, 2012, at 12:05 PM, Micha Lenk <> wrote:

> Hi,
> I just debugged a case where Apache used as reverse proxy filters a
> text/javascript file through mod_proxy_html and mod_xml2enc. As
> mod_proxy_html sees no business in filtering that file, it removes
> itself from the filter chain, but mod_xml2enc still tries to do its job.
> In course of mod_xml2enc's processing, the file grows a few bytes due to
> some charset conversions. But as the original server sends a
> Content-Length header which is not removed by mod_xml2enc, no more than
> the original length of the file is sent to the client.
> The attached patch based on httpd-trunk fixes that issue by removing the
> Content-Length header entirely. Please review it. I would appreciate it,
> if it could get applied to trunk and then backported to the httpd-2.4.x
> branch.
> Regards,
> Micha
> <fix_mod_xml2enc_content-length.patch>

View raw message