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@xxxxxxxxxxxxx> 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.