On tis, 2008-06-10 at 15:45 +1000, Mark Nottingham wrote:
> Because peerGetSomeParent and then peerGetAllParents are both called
> in the NEVER_DIRECT case (e.g., accelerators), the list of peers to
> use will contain a duplicate; whatever peerGetSomeParent returns will
> be in the list twice, and if it's the first peer (lexically in the
> conf file), it'll be twice in a row. This isn't good, especially for
> round-robin accelerator setups.
It only matters if the first is unreachable or the request otherwise has
to be retried.
The primary forwarding server is always the first in that list, which is
the round-robin selected peer if using round-robin.
The other peers is there just to allow Squid to find an alternate path
if the primary selected one fails.
Regards
Henrik
This archive was generated by hypermail 2.2.0 : Tue Jun 10 2008 - 12:00:03 MDT