Search squid archive

Re: acl maxconn per file or url

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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...

> 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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux