Search squid archive

Re: squid round-robin problem

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

 



> 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.


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

  Powered by Linux