Re: [squid-users] if and only if the URL is not reachable then se nt it to cache_pee r <parent>

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 30 Aug 2002 02:28:31 +0200

On Friday 30 August 2002 00.05, Zand, Nooshin wrote:

> I checked forward.c, http.c and ssl.c.
> It seems there is no reference to CONNECT or SSL in forward.c
> In sslStart() no reference to FwdState

This is because CONNECT is not using forward.c when setting up the
connection, and FwdState is internal to forward.c.

> Would please help me to make it work. This is a great function to
> have it.

ssl.c needs to be convinced to try the list of peers returned by
peerSelect(), and not only the first one..

a) A new timeout handler needs to be written that knows how to try the
next peer on connect timeout (today the client connection is simply
closed it seems).

b) sslConnectDone needs to do the same if it finds that the connect
attempt failed (today sends an error).

> In addition is it any parameter that make to forward the
> request to parent faster in other word reduce number of tries or
> timeout.

See the connect_timeout directive.

Regards
Henrik
Received on Thu Aug 29 2002 - 18:28:34 MDT

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