Re: squid-3 development: stmem, endOffset(), range requests

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 24 Aug 2004 08:43:56 +0200 (CEST)

On Tue, 24 Aug 2004, Adrian Chadd wrote:

> The 'hack' would be to write a routine to return how many bytes are
> currently in the squid-3 stmem/MemObject. This may be enough for
> the store code which uses it to swap objects out but I want to make
> the http usage a bit nicer.

There is two indications needed:

a) Retreival is completed.

b) A given range set can be satisfied.

> I suggest fixing this up and trying to get a stable looking devel release out
> before we run around and try to replace anything like the callback methods.

Then I would suggest disable caching of ranges, and don't do any range
processing on cache misses. Caching of ranges is not a feature goal of
Squid-3.0, only preparation to later be able to do so.

Regards
Henrik
Received on Tue Aug 24 2004 - 00:44:00 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:04 MDT