Search squid archive

Re: Re: half_closed_clients Policy Change

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

 



sön 2009-10-25 klockan 23:18 -0500 skrev Dimitri Syuoul:

> Iam a squid-2.7.STABLE6 , and iam very curious as to why the twist ?
> Ive been noticing that sometimes when the users surf the internet the
> browser on specific sites just waits and waits for more data (even
> though the site apparently already loaded) . Could this be something
> that would benefit from having this option to off ?

Setting half_closed_clients off makes Squid promptly abort those
requests when the user gives up waiting.

With half_closed_clients on Squid still waits for the response and tries
to deliver it to the client, which most times will fail (client has
closed the connection).

Unfortunatly the TCP layer do not easily provide a separation between
half-closed and fully closed connections. They both look the same until
one tries to send some data down the connection at which time the client
either accepts the data (half-closed) or resets the connection (fully
closed). Unfortunately there is no data to send down to the client until
there is some data received from the requested server so Squid just sits
there waiting for up to 15 minutes hoping the client is still around
when there is some response to send.

Regards
Henrik


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

  Powered by Linux