Search squid archive

Re: prefer parent peer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Elsen wrote:
Is there a way to configure Squid 2 to always first try fetching through
the (only) parent, and if that fails, then go direct?

Here's what I have now, and this fails miserably if x.x.x.x is down:

cache_peer x.x.x.x       parent    3128  3130 no-query default
never_direct allow all



    Use :

                always_direct deny all

    instead of

                never_direct allow all


Thanks, I tried this too, but it does not seem to work under 2.5.STABLE2 on FreeBSD. sockstat -c does not mention the cache_peer's address in any current connections, and access.log says all requests are made directly to origin servers: DIRECT/66.249.93.99 (see the docs on the log format http://www.squid-cache.org/Doc/FAQ/FAQ-6.html#ss6.6)


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux