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

From: Zand, Nooshin <[email protected]>
Date: Thu, 29 Aug 2002 18:06:54 -0700

Henrik,

Does developer have any plan to enable this function for SSL?
What its status on Squid2.5?

Regards,
Nooshin

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@marasystems.com]
Sent: Thursday, August 29, 2002 5:29 PM
To: Zand, Nooshin; 'squid-users@squid-cache.org'
Subject: Re: [squid-users] if and only if the URL is not reachable then
se nt it to cache_pee r <parent>

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 - 19:07:02 MDT

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