Re: CE(gzip) for squid-2.5STABLE3

From: Robert Collins <robertc@dont-contact.us>
Date: Thu, 21 Aug 2003 08:59:27 +1000

On Thu, 2003-08-21 at 05:00, Gonzalo Arana wrote:

> I guess storeClientCopy3 thinks that 10 bytes has been 'consumed'
> because http->out.offset has been incremented by 10, rather than 1335
> (original body size so far).
>
> How should I fix this? I mean, clientSendMoreData is called with data is
> has already processed.

You are running into the limitations in 2.5 that prevent easy CE.

You need to do what Henrik suggested: pipe the compressed data out via a
new StoreEntry, and that StoreEntry's data is what will actually get
sent to the client.

Cheers,
Rob

-- 
GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.

Received on Wed Aug 20 2003 - 16:59:46 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:29 MST