Re: quick_abort ???

From: Katariina* <katica@dont-contact.us>
Date: Fri, 24 Jul 1998 00:44:16 +0300

Henrik Nordstrom wrote:

> Katariina* wrote:
> >
> > hi,
> > there should be something wrong at squid quick_abort feature....
> > I mean there it writes that
> > quick_abort min-kbytes percent max-kbytes
> >
> > well the min-kbytes is, if there is less then min-kbytes remaining then
> > the transfer
> > continues also max-kbytes is, if there is less than max-kbytes remaining
> > the transfer
> > continues!!! are not they mean the same thing???
>
> No.
>
> Continue loading if less than min-kbytes remains
> Abort if more than max-kbytes remains
> If in-between then abort if less than percent% is downloaded.
>
> Example:
> quick_abort 10 80 100
>

look when it is less than 10kbyte(min-kbytes) remaining, it is also less than
100(max-kbytes) remaining too! so when it is less than 10 it is always less
than100! so what is the use of max?

> 2/11kb -> Less than 10 remains, continue.

yes that is true

> 40/100kb -> 40 is less than 80% of 100, abort

but there is also there is 60kbytes remaining to go in that example...
so it overrides min-kbytes and the system checks min-bytes first right?
then it would abort because of min-kbytes even though there is less
than max-kbytes (100) remaining!

> 90/100kb -> 90 is more than 80% of 100, continue the download.

this is true too...

> 850/1000kb -> More than 100kb remains, abort.
>

also more than 10kb remains! which is more than min-kbytes...and squid checks
min-kbytes first (right?)

> ---
> Henrik Nordström
> Sparetime Squid Hacker
Received on Thu Jul 23 1998 - 15:00:29 MDT

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