summaryrefslogtreecommitdiff
path: root/lib/share.h
diff options
context:
space:
mode:
authorAlejandro Alvarez Ayllon <alejandro.alvarez.ayllon@cern.ch>2011-11-17 23:34:38 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-11-17 23:34:38 +0100
commit35f61c404d434e00da0f502a073cd3a0201fa504 (patch)
tree0255059c872d5ed3250c86d2d1b2a532fc63a757 /lib/share.h
parent97b73fec7a961d34a378c41b49542fc2cf5782c9 (diff)
downloadcurl-35f61c404d434e00da0f502a073cd3a0201fa504.tar.gz
SSL session share: move the age counter to the share object
Previously the age counter would be counted individually in each easy handle that shared SSL sessions!
Diffstat (limited to 'lib/share.h')
-rw-r--r--lib/share.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/share.h b/lib/share.h
index c9546567d..3148ed00b 100644
--- a/lib/share.h
+++ b/lib/share.h
@@ -52,6 +52,7 @@ struct Curl_share {
struct curl_ssl_session *sslsession;
unsigned int nsslsession;
+ long sessionage;
};
CURLSHcode Curl_share_lock (struct SessionHandle *, curl_lock_data,