Search squid archive

Re: need 206 to be 200

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

 



On 27/01/2015 1:38 a.m., HackXBack wrote:
> I always see in access.log for the partial content
> TCP_HIT_ABORTED/206 

ABORTED means the client disconnected. There is nothing you can do about
that in Squid.

HIT means the object delivered came from cache. No upstream bandwidth
was consumed in the process.

> and this content eat my whole bandwidth

The 206 means client is fetching a range of data out of a larger object.
Turning that into a 200 (full-object) delivered to client will only
spend more bandwidth.

> 
> my conf is
> 
> range_offset_limit none partial
> quick_abort_min 1840 KB
> quick_abort_max 1844 KB
> 

These are all controlling Squid contact with servers. Limiting upstream
bandwidth expenditure when the client aborts. Which is useful for
TCP_MISS_ABORTED/206 cases.

Since your log says HIT, the only thing you could do in Squid is
completely reject these clients requests.

Amos

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





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

  Powered by Linux