Re: [squid-users] Build error! Help! -client_side.o(.text+0xf65): In function `gzip_data':/home/lq/squid-2.5.S12/src/client_side.c:2053: undefined reference to `deflate'

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 19 Nov 2005 01:42:21 +0100 (CET)

This belongs on the squid-dev mailinglist. not squid-users or my personal
mailbox.

Your really should read RFC2616 to get a grip of what is an entity and how
it relates to compression and ranges. And pelase do not forget about the
ETag..

No, you do not need to add a Vary, but you SHOULD if your decision on if
to gzip or not is based on anything from the request. What you MUST is to
make sure the ETag is modified accordingly if your are doing gzip as
content encoding to differentiate the gzipped variant from the
uncompressed one (very important for range processing).

And no, you can not content-encode ranges. content-encoding is always
applied on the complete entity, and ranges applied on the result.

Another alternative which suits proxies very well is to do compression as
transfer encoding. Squid does not yet support transfer-encoding but it is
a highly wanted feature as the lack of transfer-encoding support is the
main reason why Squid is till HTTP/1.0.

Regards
Henrik

On Tue, 15 Nov 2005, ro vencentro wrote:

> Thank you.
> I'm new to squid,but I have to add gzip support in squid,and I got puzzled now.
> Would you give me some adviece on when and where to compress,and
> headers that must modify,
> If ranges is used,can the data be compressed?
> Must I add a Vary header if compressed?
>
> Thanks.
>
> Regards
> Vencent
>
Received on Fri Nov 18 2005 - 17:42:25 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:15 MST