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
