Re: Initial patch for file suffix acl

From: Amos Jeffries <squid3@dont-contact.us>
Date: Sun, 02 Mar 2008 23:08:30 +1300

Lucas Brasilino wrote:
> Hi
>
> Some time ago Henrik asked for volunteer to some beginner squid developer task.
> Due some time constraint problems (working on my final project), I
> couldn't work on
> it as I desired. But now I have more time (I hope :) ).
>
> Well, here comes a initial patch against squid-2 HEAD which implements a new acl
> type, called 'file_suffix'.
> It's quite simple:
>
> acl file_suffix exts .cgi .dll .tar.gz .;exe
>
> Please comment it. It works for me, but real world is wider than my tests :)
> I've also made some memory leaks tests with valgrind.
>
> regards
> Lucas Brasilino
>

Thank you for this Lucas. That will prove to be a very useful ACL.

It may have to wait for Henrik to return after his current meeting and
check it for squid-2.

Meanwhile, any chance of getting a squid-3 port of this as well?

Amos

-- 
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.
Received on Sun Mar 02 2008 - 03:08:00 MST

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:10 MDT