Re: [squid-users] squid round-robin problem

From: Mark Elsen <mark.elsen@dont-contact.us>
Date: Sat, 17 Dec 2005 17:41:24 +0100

> thank you very much, it is working now, when 1st link is down the connection is
> shifted to link2 and vice versa, but having another problem, remember link 1 is
> connected to a pc which is configured as proxy1 with option proxy-only and
> cache_dir null same as the second line connected to another machine and
> confiure as proxy 2 with same configuration as proxy 1. The problem is when
> link 1 is off the main proxy still do a round robin which in this case checks
> the proxy 1 and proxy 2 alternatively so in case that link 1 is off therefore
> when the main proxy fetches on the proxy 1 an error occured, so what can I do
> is to refresh the page until the main proxy checks the second link which is the
> proxy 2.
>
> Is there a way to configure that when the 1st is off, proxy1 will announces to
> the main proxy that it has no connection to the internet so that main proxy
> will not bother to visit proxy 1 instead direct all request to proxy2.
>

  That would mean , introducing "state" in the comm. between parents.
  The main issue is that http is of a stateless nature and the protocol;
  including the caching parts do not provide a model of statefullness.

  Therefore I think, that is not possible.

  M.
Received on Sat Dec 17 2005 - 09:41:25 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:02 MST