cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl and recycled https connections

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 13 Mar 2003 07:05:38 +0100 (CET)

On Wed, 12 Mar 2003 RBramante_at_on.com wrote:

> One point of clarification: I did take a quick look at this just now and
> it looked to me like the ssl options in use are being stored in
> SessionHandle->UserDefined->ssl_config_data which seems like it is a
> "global" config to all connections. So, coming into ConnectionExists() the
> SessionHandle has the newly altered ssl options, but how do I determine
> what ssl options were used for the existing connectdata structures? It
> looked to me in the debugger like the connectdata.ssl structure was always
> all zeroes.

We will need to change that sligtly to instead make a copy (of the necessary
values) to variables in the 'connectdata' struct when the connection is
setup. Then we can compare values between two structs, just like the other
comparisons are made.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
Received on 2003-03-13