Re: Making PEER_TCP_MAGIC_COUNT a cache_peer option

From: Adrian Chadd <adrian_at_creative.net.au>
Date: Fri, 6 Jun 2008 14:19:19 +0800

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.

Adrian

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
Received on Fri Jun 06 2008 - 06:17:03 MDT

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