aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-10-10 16:47:54 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-10-13 11:24:16 +0200
commit1671d84b38ac61f0852e8ff2915fef3346dc53f7 (patch)
tree70ad71bf8152bf7e10b4441368947d37e11d1c54 /lib/urldata.h
parent3b36bd8e1a242b6cd037bb8109e1fc56478951a6 (diff)
vtls: only re-use session-ids using the same scheme
To make it harder to do cross-protocol mistakes
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index fd9870e26..7c7bf1ba0 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -374,6 +374,7 @@ struct ssl_config_data {
struct curl_ssl_session {
char *name; /* host name for which this ID was used */
char *conn_to_host; /* host name for the connection (may be NULL) */
+ const char *scheme; /* protocol scheme used */
void *sessionid; /* as returned from the SSL layer */
size_t idsize; /* if known, otherwise 0 */
long age; /* just a number, the higher the more recent */