Re: [squid-users] nonhierarchy_direct & prefer_direct

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 3 Jul 2002 10:54:14 +0200

On Wednesday 03 July 2002 09.27, Wei Keong wrote:

> # TAG: prefer_direct
> # Normally Squid tries to use parents for most requests. If
> you by some
> # reason like it to first try going direct and only use a
> parent if # going direct fails then set this to off.
>
> To go prefer go direct, shouldn't this be on?

Right. Thanks. Fixed in Squid-2.5.

> # By combining nonhierarchical_direct off and prefer_direct
> on you # can set up Squid to use a parent as a backup path if
> going direct # fails.
>
> For Squid to use a parent as a backup path (ie. always tried to go
> direct), shouldn't the setting be nonhierarchical_direct on &
> prefer_direct on?

No. The documentation is correct here. If nonhierarchical_direct is on
then the nonhierarchical requests will not fall back on the parent,
and the user will see a error message if the site could not be
contacted directly.

Regards
Henrik
Received on Wed Jul 03 2002 - 02:55:46 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:00 MST