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

From: Tsantilas Christos <chtsanti@dont-contact.us>
Date: Tue, 07 Aug 2007 09:48:33 +0300

At the end I just put quick_abort_min and quick_abort_max to its
original behavior. They are storing values in kilobytes and if the units
are missing kilobytes are the default.
It is very easy to change it and also is easy to make parser to not
require spaces between value and units.
But a problem I am seeing is that at the begging we just want to
simplify the code but now we are talking about correcting others thinks
which are not critical or important.
Any way, it is not difficult to change the above but the original goal
was just to fix the bugs of squid3... I dont know...

Regards,
  Christos

Henrik Nordstrom wrote:
> On fre, 2007-08-03 at 00:35 +1200, Amos Jeffries wrote:
>
>> Although having said that, the current parser requires whitespace
>> between the value and the units. I'm not certain that is a good thing.
>
> Been like that for ever. Or at least as long as Squid has been parsing
> units.. i.e. Squid-1.1 or something like that. (1997 timeframe).
>
> I don't have a problem having the parser changed so that it also accepts
> specifications without the space however.
>
> Regards
> Henrik
Received on Tue Aug 07 2007 - 00:45:41 MDT

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