Re: [squid-users] how to make squid support gzip compression?

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Mon, 25 Feb 2008 17:46:04 -0700

On Sat, 2008-02-23 at 00:37 +1300, Amos Jeffries wrote:
> J. Peng wrote:
> > On Fri, Feb 22, 2008 at 7:05 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
> >> J. Peng wrote:
> >> > how to make squid support gzip compression?
> >> > most useragents and web servers support gzip compression feature, how
> >> > to config squid support it?
> >> >
> >> > thanks in advance.
> >>
> >> gzip/deflate has not been added to squid properly. There was work done a
> >> long while ago and not completed.
> >
> > thanks. but sorry to hear that.
> >
> >> 2.6+ and 3.1+ are capable of properly handling broken servers
> >> producing chunked-encoding data.
> >>
> >
> > what's this Amos? can you give me the more detailed description? thanks.
>
> I don't know that much about it myself sorry.
>
> I do know its one of the encoding methods used in HTTP/1.1 that servers
> are only supposed to send to 1.1 clients. Many broken software do send
> it to squid anyway though.

Yes, and there is code in Squid3 HEAD (and probably Squid2) that
de-chunks chunked responses sent to Squid by broken servers. That code
probably needs more work to correctly support all cases (bug #2219), but
it may help with some servers.

HTH,

Alex.
Received on Mon Feb 25 2008 - 17:46:15 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST