Re: squid3-largeobj squid3/src HttpHdrRange.cc...

From: Amos Jeffries <squid3@dont-contact.us>
Date: Fri, 03 Aug 2007 00:35:46 +1200

Amos Jeffries wrote:
> Alex Rousskov wrote:
>> On Wed, 2007-08-01 at 20:18 +1200, Amos Jeffries wrote:
>>
>>> How about I first dig-up/rewrite some old code I wrote years ago that
>>> parses a value nX where n is some integer and X is one of the
>>> B/KB/MB/GB/...etc base strings?
>>
>> That would be nice. I think Squid3 already has something similar for
>> some time values, but it is not required. Same for some size values, as
>> Henrik pointed out.
>
> Just digging through the code. Yes Henrik is right the byte-units
> parsing is already there.
>

Although having said that, the current parser requires whitespace
between the value and the units. I'm not certain that is a good thing.

Amos
Received on Thu Aug 02 2007 - 06:35:51 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Aug 31 2007 - 12:00:05 MDT