[PATCH] bug 2051 and some peer selection cleanup

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 12 Jul 2011 22:40:42 +1200

This patch fixes bug 2051 by moving the default parent to second-lowest
priority on the parent selection. This also allows the other more
delicate balancing algorithms to work properly with a default configured.

sourcehash and userhash are reversed in priority to simplify the
selection code around #if..#endif once default is moved.

Also, getAnyParent() is dropped. It is redundant with the FIRSTUP algorithm.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.14
   Beta testers wanted for 3.2.0.9

Received on Tue Jul 12 2011 - 10:41:27 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 12 2011 - 12:00:03 MDT