The only problem with this is The Peer is a virus scanner and it leaves a
huge hole if I don't scan exe's or zip's etc.
Anyway thanks for all those who replied I'll need to think of another way
around this.
-----Original Message-----
From: Brian [mailto:hiryuu@envisiongames.net]
Sent: Friday, 16 August 2002 3:21 AM
To: Anthony Giggins; squid-users@squid-cache.org
Subject: Re: [squid-users] Not Pass to Cache Peer if file size > a certain
size
On Thursday 15 August 2002 04:07 am, Henrik Nordstrom wrote:
> On Thursday 15 August 2002 04.33, Anthony Giggins wrote:
> > Not Pass to Cache Peer if file size > a certain size
> >
> > Not Completely sure if this is possible. Please if someone can
> > point me in the right direction.
>
> The problem is that the reply size is only known when receiving the
> reply, and you can only receive a reply after sending the request..
It would be possible to do a HEAD request before the GET, but that's some
serious overhead, even if you could hack it into squid.
Your best bet is probably to send certain extensions (zip, exe, rar, ...)
to the peer. You will hit a few small ones, and miss a few big ones, but
overall it should work okay.
-- Brian
This email is confidential and may contain confidential and/or copyright
material of SynergyIT. If you are not the intended recipient, please notify
us immediately and delete all copies of this message. It is the
responsibility of the recipient to virus scan this email.
Received on Thu Aug 15 2002 - 16:45:21 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:38 MST