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

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 01 Jul 2009 12:25:52 +1200

On Tue, 30 Jun 2009 18:35:09 +0200, Henrik Nordstrom
<henrik_at_henriknordstrom.net> wrote:
> tis 2009-06-30 klockan 15:13 +1200 skrev Amos Jeffries:
>> On Mon, 29 Jun 2009 18:50:30 -0700 (PDT), Chudy Fernandez
>> <chudy_fernandez_at_yahoo.com> wrote:
>> > I think this well help
>> >
>> > acl maxcon maxconn 4
>> > acl partial rep_header Content-Range .*
>> > http_reply_access deny partial maxcon
>> >
>>
>> I wonder....
>>
>> What this _does_ is cause replies to be sent back to the client with all
>> range encoding and wrapping, but without the range position information
>> or
>> other critical details in the Content-Range: header.
>
> No it doesn't. It prevents replies with Content-Range if there is more
> than 4 concurrent connections from the same IP (with no regard to what
> those connections is being used for).
>
> It's http_reply_access, not http_header_access...
>

Doh! Thanks Henrik.

>> This does not prevent Squid from fetching the multiple requests for
>> ranges
>> in the first place, nor save any bandwidth used by Squid doing so.
>
> But it does cause Squid to abort the partial requests once headers have
> been received.
>
> Regards
> Henrik

Amos
Received on Wed Jul 01 2009 - 00:25:56 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 01 2009 - 12:00:04 MDT