diff options
Diffstat (limited to 'libs/libcurl/src/share.h')
-rw-r--r-- | libs/libcurl/src/share.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/libcurl/src/share.h b/libs/libcurl/src/share.h index 6eaf0a84ae..05cd2b0be2 100644 --- a/libs/libcurl/src/share.h +++ b/libs/libcurl/src/share.h @@ -34,6 +34,9 @@ #define CURL_GOOD_SHARE 0x7e117a1e
#define GOOD_SHARE_HANDLE(x) ((x) && (x)->magic == CURL_GOOD_SHARE)
+#define CURL_SHARE_KEEP_CONNECT(s) \
+ ((s) && ((s)->specifier & (1<< CURL_LOCK_DATA_CONNECT)))
+
/* this struct is libcurl-private, do not export details */
struct Curl_share {
unsigned int magic; /* CURL_GOOD_SHARE */
@@ -43,7 +46,7 @@ struct Curl_share { curl_lock_function lockfunc;
curl_unlock_function unlockfunc;
void *clientdata;
- struct conncache conn_cache;
+ struct cpool cpool;
struct Curl_hash hostcache;
#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES)
struct CookieInfo *cookies;
|