Re: Making PEER_TCP_MAGIC_COUNT a cache_peer option

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 06 Jun 2008 23:09:59 +1200

Adrian Chadd wrote:
> On Fri, Jun 06, 2008, Mark Nottingham wrote:
>> <http://www.squid-cache.org/bugs/show_bug.cgi?id=2377>
>>
>> Squid will consider a peer dead when it has ten connect failures; this
>> is hardcoded in as PEER_TCP_MAGIC_COUNT.
>> The attached patch makes it a per-peer configuration option,
>> defaulting to PEER_TCP_MAGIC_COUNT.
>
> Looks fine - but you need to add some code to the configuration file
> -generator- so it spits out the option when building the cache_peer line.
>

What do you mean Adran? I thought it would just be a default setting
added at the top of the cache_peer parsing function. Overridden if the
option is used.

Amos

-- 
Please use Squid 2.7.STABLE1 or 3.0.STABLE6
Received on Fri Jun 06 2008 - 11:10:02 MDT

This archive was generated by hypermail 2.2.0 : Fri Jun 06 2008 - 12:00:04 MDT