Re: [squid-users] acl maxconn per file or url

From: Jeff Pang <pangj_at_arcor.de>
Date: Mon, 15 Jun 2009 09:44:27 +0800

Amos Jeffries:
> On Sun, 14 Jun 2009 20:21:59 +0300, MonzT <Brave_Monz_at_hotmail.com> wrote:
>>> maxconn only works on IPs.
>>>
>>> collapsed_forwarding limits outbound connections to one per URL and
>>> shares
>>> the results with as many clients as are requesting it.
>>>
>>> delay pools can be configured to use maxconn and object types to limit
>>> files over a certain size down to a low bandwidth. This has the added
>>> benefit of catching multiple files fro different sources under the one
>>> download cap.
>> Thanks... I'll try that collapsed_forwarding thing .. but I still think
>> that
>> I have to make custom redirector with a database or something to track
> each
>> requested url per ip.
>> Thanks again

Amos,

If we use a custom redirector, we know when request is coming, but how
can we know the response for this request is finished? Thanks.

>
> If you do have to go the custom way then make it an external_acl_type with
> a deny_info link instead of a redirector. They are much more tunable and
> can receive more details about a request.
>
> Amos
>

-- 
Jeff Pang
DingTong Technology
www.dtonenetworks.com
Received on Mon Jun 15 2009 - 01:43:14 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 15 2009 - 12:00:03 MDT