Re: Squid-2.6 merge fest

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 4 Apr 2002 22:14:29 +0200

Adrian Chadd wrote:

> Oh, I get it. Yes. The API may take an offset, but it has to start at
> 0, and it has to be continually and unbrokenly increasing.

Should work fine for the simple range processing we had I think..

> I'm enforcing the latter, and I'm hoping the former is done (or you won't
> parse the headers, right? :)

Yes.

What?

> The offset is only there as a "check" to make sure the rest of the store
> client api users requrest data sequentially - and you'd be surprised how
> many strange places that wasn't true.

I know quite many strange places who was depending on the ability to re-read
data..

> Eventually it will disappear. Instead, when you go storeLookup() you'll
> ask for a specific range of data (or -1, -1 for everything I guess)
> to grab the range data.

One range per storeLookup(), or a list of ranges?

Regards
Henrik
Received on Thu Apr 04 2002 - 13:14:33 MST

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