Re: Cannot cache FTP request

From: Dr. Michael Weller <eowmob@dont-contact.us>
Date: Fri, 27 Oct 2000 11:45:56 +0200 (MESZ)

>Henrik Nordstrom wrote:
>Dr. Michael Weller wrote:
>>
>> I forgot to mentions this is with 2.4-DEVEL 4 and ntlm authentication.

>What is your refresh_pattern settings? The FTP related refresh_pattern
>settings in the default squid.conf must be used to allow Squid to cache
>most FTP objects or any FTP listing.

You can see that in the log from that other mail which I included FYI.

IMHO it is not due to a missing date rule, something in the http header
makes squid think it must never ever cache the ftp url. Note that an
upstream proxy is used (a virus scanner).

I've no clue about the HTTP protocol at that level, I really need s.o.
telling me how to interprete this and what I can do (to save bandwidth I
really want to cache the ftp's)

Thanx in advance,
Michael.

---------- Forwarded message ----------
Date: Fri, 27 Oct 2000 00:43:58 +0200 (MESZ)
From: "Dr. Michael Weller" <eowmob@exp-math.uni-essen.de>
To: squid-users@ircache.net
Subject: Re: Cannot cache FTP request (HTTP experts advise needed)

[..]
I dug through the source and played with debug_options. It turns out that
httpCachableReply in http.c declares my ftp download non-cachable.

Alas, with my http knowledge I cannot tell if this is a right
interpretation of the header or not and if I could do something against
it. Someone with more knowledge look at my previous post with header log
in 'Cannot cache FTP request' and please tell me. Well here it is FYI
anyway:

2000/10/27 00:03:24| httpReadReply: FD 28: len 66.
2000/10/27 00:03:24| httpProcessReplyHeader: key
'51D24495B9A213F3AF5DCF6E6A8D3
E4'
2000/10/27 00:03:24| ctx: enter level 0:
'ftp://ftp.adaptec.digisle.net/scsi/w
ndows/7800_fms303_disk1.exe'
2000/10/27 00:03:24| GOT HTTP REPLY HDR:
---------
HTTP/1.0 200 document follows^M
Content-Type: application/octet-stream^M
Content-Length: 404500^M
^M

----------
2000/10/27 00:03:24| httpProcessReplyHeader: HTTP CODE: 200
2000/10/27 00:03:24| storeGet: looking up 7F5FC2623D1511332543F046C43B72EA
2000/10/27 00:03:24| storeGet: looking up 0117AE9C0235B5D3E3572F9681C51D2F
2000/10/27 00:03:24| refreshCheck(On Store):
'ftp://ftp.adaptec.digisle.net/scs
/windows/7800_fms303_disk1.exe'
2000/10/27 00:03:24| refreshCheck: Matched '^ftp: 86400 20% 604800'
                                            ======================

2000/10/27 00:03:24| refreshCheck: age = 60
2000/10/27 00:03:24| check_time: Thu, 26 Oct 2000 22:04:24 GMT
2000/10/27 00:03:24| entry->timestamp: Thu, 26 Oct 2000 22:03:24
GMT
2000/10/27 00:03:24| refreshCheck: NO: age < min && override_lastmod
2000/10/27 00:03:24| storeExpireNow: '51D24495B9A213F3AF5DCF6E6A8D3CE4'
                     ==============
2000/10/27 00:03:24| storeReleaseRequest:
'51D24495B9A213F3AF5DCF6E6A8D3CE4'
2000/10/27 00:03:24| ctx: exit level 0

Many thx,
Michael.

--
Michael Weller: eowmob@exp-math.uni-essen.de, eowmob@ms.exp-math.uni-essen.de,
or even mat42b@spi.power.uni-essen.de. If you encounter an eowmob account on
any machine in the net, it's very likely it's me.
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Oct 27 2000 - 03:49:18 MDT

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