diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-03-31 05:13:26 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-03-31 05:13:26 +0000 |
commit | 9558f229db056404ebc3b573f44bdc80790c2cfd (patch) | |
tree | 84658c028e41d0ce5a3cc1a99f2c9211f4d300ef /lib/urldata.h | |
parent | 7917bfb1c92411ba7f1fe82b8adb7be6d2595d63 (diff) |
Fixup after talks with Richard Bramante. We should now make better
comparisons before re-using SSL connections and re-using SSL connection IDs.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index eb5952174..130b76c7e 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -125,14 +125,6 @@ struct ssl_connect_data { #endif /* USE_SSLEAY */ }; -/* information about one single SSL session */ -struct curl_ssl_session { - char *name; /* host name for which this ID was used */ - void *sessionid; /* as returned from the SSL layer */ - long age; /* just a number, the higher the more recent */ - unsigned short remote_port; /* remote port to connect to */ -}; - struct ssl_config_data { long version; /* what version the client wants to use */ long certverifyresult; /* result from the certificate verification */ @@ -148,6 +140,16 @@ struct ssl_config_data { long numsessions; /* SSL session id cache size */ }; +/* information stored about one single SSL session */ +struct curl_ssl_session { + char *name; /* host name for which this ID was used */ + void *sessionid; /* as returned from the SSL layer */ + long age; /* just a number, the higher the more recent */ + unsigned short remote_port; /* remote port to connect to */ + struct ssl_config_data ssl_config; /* setup for this session */ +}; + + /**************************************************************************** * HTTP unique setup ***************************************************************************/ |