curl-library
Re: connection reuse with proxies and ssl
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 24 Jan 2008 12:27:15 +0100 (CET)
Date: Thu, 24 Jan 2008 12:27:15 +0100 (CET)
On Wed, 23 Jan 2008, Gautam Kachroo wrote:
> It would still be nice if the connection structure kept track of the
> protocol initialization being finished, i.e. ConnectionExists could
> look at check->bits.protoconndone.
> It would also be nice if the ssl connect state keps a done flag, "use" only
> seems to record that the ssl connect process started.
How about simply changing the 'use' variable from a boolean to a state
variable with values such as:
NONE
NEGOTIATION
COMPLETE
(Notably, all non-openssl libs would never be in the middle state since they
do the "negotiate" phase blocking.)
Would you be able to take a stab at introducing something like this?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2008-01-24