Re: Problem with squid and incomplete EXE files

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 07 Jun 2000 08:13:31 +0200

Karl Ferguson wrote:

> Our squid:
>
> 960268496.453 67406 gateway.clientserver.com.au TCP_HIT/000 128480 GET
> http://lifestyle.ninemsn.com.au/ralph/media/screensaver/screensaver23.exe -
> NONE/- -

Maybe the file has been wrongly cached. There are a few cases where
Squid cannot detect a failed download and might wronly cache then (this
is from a limittion in the HTTP protocol, not a Squid bug.. well there
might of course be some bug in Squid that I do not know about).

What is the HTTP headers of the object?

  client -m HEAD
http://lifestyle.ninemsn.com.au/ralph/media/screensaver/screensaver23.exe

One important thing to look for in the headers: Does it contain a
Content-Length header? If not then the download is not protected from
server side failures during the download, and might get partially cached
in caches (both shared caching proxies and browser caches).

There are at least three ways to recover from a partially cached object:

a) PURGE the object from the cache

b) Issue a forced reload on the object (-r argument to client)

c) Wipe clean your cache

--
Henrik Nordstrom
Squid hacker
Received on Wed Jun 07 2000 - 17:45:26 MDT

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