On 2/09/2016 7:27 a.m., Heiler Bemerguy wrote:
> 
> Objective: make squid download the whole file when it's an application.
> I'm trying to base the acl on the replied mime type, which I think it's
> more obvious than regexping URLs...
> 
> acl limit maxconn 1
> acl fullDLmime rep_mime_type application/x-tar application/octet-stream
> range_offset_limit -1 fullDLmime !limit
> 
> But these warnings keep flooding my cache.log
> 

To download the full file Squid has to modify the *request* headers that
gets sent to the server to not ask for a partial download.

When sending a request the future response is unknown. So the ACL cannot
possibly determine what Content-Type header value will be returned in
that future time.

Amos

_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to