Re: [squid-users] Go direct if parent dies

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 27 Feb 2003 08:29:54 +0100

On Wednesday 26 February 2003 23.16, Christoph Haas wrote:
> On Tue, Feb 25, 2003 at 04:47:26PM +0100, Ard van Breemen wrote:
> > And telnet localhost 9090 works?
> > And if so:
> > GET http://www.porn.com/ HTTP/1.0
> > <empty line>
>
> The parent proxy daemon serving port 9090 ist temporarily down thus
> causing a "dead parent". It is perfectly okay that squid refuses to
> use the parent. However I want squid to go *direct* in this case.
> That's what I'm searching for. The "prefer_direct off" didn't work.

For this to work, never_direct MUST NOT be used.

Also, you probably should set a lower connect timeout on your
cache_peers to allow for quicker recovery.

Regards
Henrik
Received on Thu Feb 27 2003 - 00:28:42 MST

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