Re: [squid-users] confused config on default squid.conf

From: Henrik Nordström <henrik@dont-contact.us>
Date: Mon, 25 Feb 2008 04:57:19 +0100

mån 2008-02-25 klockan 11:20 +0800 skrev J. Peng:
> On Mon, Feb 25, 2008 at 10:43 AM, Henrik Nordström
> <henrik@henriknordstrom.net> wrote:
> > tor 2008-02-21 klockan 09:43 +0800 skrev J. Peng:
> >
> >
> > > # 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.
> > >
> > >
> > > Why it's "nonhierarchical_direct off and prefer_direct on"?
> > > I think it should be "nonhierarchical_direct on and prefer_direct on".
> >
> > Because if you set nonhierarchical_direct on, then going via a peer on
> > nonhierarchical requests is not an option to Squid.
> >
> > nonhierarchical_direct off disables the special forwarding selection
> > normally used for "nonhierarchical" requests, instead making Squid
> > select the forwarding path in the same manner for both kinds of
> > requests.
> >
>
> Hello Henrik,
>
> I'm totally confused. Is the original document right, or my suggestion
> way right?
> Thanks again.

The original is right.

with your suggestion the backup path won't be used on non-hierarchical
requests as then the only option Squid will consider on such requests is
going direct..

Regards
Henrik

Received on Sun Feb 24 2008 - 21:01:30 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST