diff options
author | Alejandro Alvarez <aalvarez@cern.ch> | 2011-09-20 17:43:54 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-09-28 23:06:34 +0200 |
commit | 5793bc370c794a10e6ed014cb535a47672842ae6 (patch) | |
tree | 9b9a40d8278cb30124bfcc8e2e63daf73ff228d3 /lib/share.h | |
parent | ff5ba6e43d808b8cc7c8e099bb0329206031478f (diff) | |
download | curl-5793bc370c794a10e6ed014cb535a47672842ae6.tar.gz |
SSL session sharing support added
With locking, plus test, plus documentation
Diffstat (limited to 'lib/share.h')
-rw-r--r-- | lib/share.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/share.h b/lib/share.h index ea8e233d2..cf200008f 100644 --- a/lib/share.h +++ b/lib/share.h @@ -26,6 +26,7 @@ #include "setup.h" #include <curl/curl.h> #include "cookie.h" +#include "urldata.h" /* SalfordC says "A structure member may not be volatile". Hence: */ @@ -46,6 +47,9 @@ struct Curl_share { struct curl_hash *hostcache; struct CookieInfo *cookies; + + struct curl_ssl_session *sslsession; + unsigned int nsslsession; }; CURLSHcode Curl_share_lock (struct SessionHandle *, curl_lock_data, |