aboutsummaryrefslogtreecommitdiff
path: root/lib/share.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-11-01 23:37:45 +0100
committerDaniel Stenberg <daniel@haxx.se>2017-11-09 11:07:44 +0100
commit67c55a26d51149650e91a00b63cf5107989a57e9 (patch)
treeb041c360056052d48a51585153ab4cb9c8a4e354 /lib/share.h
parente871ab56ed9cb0f3ab00b40e188f51cfb37b96cd (diff)
share: add support for sharing the connection cache
Diffstat (limited to 'lib/share.h')
-rw-r--r--lib/share.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/share.h b/lib/share.h
index c039a16cb..4b13406d9 100644
--- a/lib/share.h
+++ b/lib/share.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -26,6 +26,7 @@
#include <curl/curl.h>
#include "cookie.h"
#include "urldata.h"
+#include "conncache.h"
/* SalfordC says "A structure member may not be volatile". Hence:
*/
@@ -43,7 +44,7 @@ struct Curl_share {
curl_lock_function lockfunc;
curl_unlock_function unlockfunc;
void *clientdata;
-
+ struct conncache conn_cache;
struct curl_hash hostcache;
#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES)
struct CookieInfo *cookies;