CASALI COMPUTERS - Michele Brodoloni wrote:
Hmmm.. So I guess this behaviour is caused by these following lines:

range_offset_limit -1
maximum_object_size 200 MB
quick_abort_min -1

Which are used to cache the most possible from windows update... (from: 
http://wiki.squid-cache.org/SquidFaq/WindowsUpdate)
At this point I'm asking if there's any workaround for this.. I mean: is it possible to 
make "quick_abort_min" to be set to -1 only for windows updates,
and have it behave normally for the rest of the websites?

Thanks a lot


Not with the current Squid. Sorry.
There is a patch on my TODO list to add ACL support to range_offset_limit, but nothing yet for quick-abort.

Amos

-----Messaggio originale-----
Da: Amos Jeffries [mailto:[email protected]] Inviato: venerdì 19 marzo 2010 7.19
A: [email protected]
Oggetto: Re: [squid-users] Cancelled downloads

CASALI COMPUTERS - Michele Brodoloni wrote:
Hello,
is it possible to stop squid from keep downloading a file when a user stops the 
download from his browser?
If an user initiates a 1GB of web download and then hits ?cancel?, squid 
doesn?t mind it and continues to download until it finishes, and this is a 
waste of bandwidth.

Is there a solution for this behavior?


This is the default behaviour of Squid.

Check your configuration settings for:
  http://www.squid-cache.org/Doc/config/quick_abort_max/
  http://www.squid-cache.org/Doc/config/quick_abort_min/
  http://www.squid-cache.org/Doc/config/quick_abort_pct/
  http://www.squid-cache.org/Doc/config/range_offset_limit/


Amos


--
Please be using
  Current Stable Squid 2.7.STABLE8 or 3.0.STABLE25
  Current Beta Squid 3.1.0.18

Reply via email to