/curl/lib/ |
H A D | hostip.c | 244 if(data->share) in Curl_hostcache_prune() 263 if(data->share) in Curl_hostcache_prune() 362 if(data->share) in Curl_fetch_addr() 370 if(data->share) in Curl_fetch_addr() 710 if(data->share) in Curl_resolv() 721 if(data->share) in Curl_resolv() 833 if(data->share) in Curl_resolv() 839 if(data->share) in Curl_resolv() 1158 if(data->share) in Curl_loadhostpairs() 1164 if(data->share) in Curl_loadhostpairs() [all …]
|
H A D | conncache.h | 60 struct Curl_share *share; /* != NULL iff pool belongs to share */ member 71 struct Curl_share *share,
|
H A D | smb.h | 40 char *share; member
|
H A D | setopt.c | 811 if(!data->share || !data->share->cookies) { in Curl_vsetopt() 2299 if(data->share) { in Curl_vsetopt() 2325 data->share->dirty--; in Curl_vsetopt() 2328 data->share = NULL; in Curl_vsetopt() 2333 data->share = set; in Curl_vsetopt() 2334 if(data->share) { in Curl_vsetopt() 2338 data->share->dirty++; in Curl_vsetopt() 2346 if(data->share->cookies) { in Curl_vsetopt() 2354 if(data->share->hsts) { in Curl_vsetopt() 2361 if(data->share->sslsession) { in Curl_vsetopt() [all …]
|
H A D | smb.c | 688 const size_t byte_count = strlen(conn->host.name) + strlen(smbc->share) + in smb_send_tree_connect() 700 MSGCATNULL(smbc->share); in smb_send_tree_connect() 1134 Curl_safefree(smbc->share); in smb_disconnect() 1155 if(smbc->share) { in smb_do() 1176 smbc->share = strdup((*path == '/' || *path == '\\') ? path + 1 : path); in smb_parse_url_path() 1178 if(!smbc->share) in smb_parse_url_path() 1181 slash = strchr(smbc->share, '/'); in smb_parse_url_path() 1183 slash = strchr(smbc->share, '\\'); in smb_parse_url_path() 1187 Curl_safefree(smbc->share); in smb_parse_url_path()
|
H A D | conncache.c | 56 if(CURL_SHARE_KEEP_CONNECT((c)->share)) \ 69 if(CURL_SHARE_KEEP_CONNECT((c)->share)) \ 150 struct Curl_share *share, in Curl_cpool_init() argument 153 DEBUGASSERT(!!multi != !!share); /* either one */ in Curl_cpool_init() 180 cpool->idata->share = cpool->share = share; in Curl_cpool_init() 193 cpool->idata->share = NULL; in Curl_cpool_destroy() 204 if(CURL_SHARE_KEEP_CONNECT(data->share)) in cpool_get_instance() 205 return &data->share->cpool; in cpool_get_instance()
|
H A D | Makefile.inc | 212 share.c \ 348 share.h \
|
/curl/src/ |
H A D | tool_operate.c | 129 CURLSH *share, 133 CURLSH *share, 827 CURLSH *share, in single_transfer() argument 2531 CURLSH *share; member 2844 s->share = share; in parallel_transfers() 2913 CURLSH *share) in serial_transfers() argument 3120 CURLSH *share, in create_transfer() argument 3151 result = serial_transfers(global, share); in run_all_transfers() 3244 CURLSH *share = curl_share_init(); in operate() local 3245 if(!share) { in operate() [all …]
|
/curl/lib/vtls/ |
H A D | schannel.c | 2827 if(!share || !share->cert_store) { in Curl_schannel_get_cached_cert_store() 2878 if(share->cert_store) { in schannel_cert_share_free() 2881 free(share->CAfile); in schannel_cert_share_free() 2882 free(share); in schannel_cert_share_free() 2905 if(!share) { in Curl_schannel_set_cached_cert_store() 2906 share = calloc(1, sizeof(*share)); in Curl_schannel_set_cached_cert_store() 2907 if(!share) { in Curl_schannel_set_cached_cert_store() 2914 free(share); in Curl_schannel_set_cached_cert_store() 2936 if(share->cert_store) { in Curl_schannel_set_cached_cert_store() 2939 free(share->CAfile); in Curl_schannel_set_cached_cert_store() [all …]
|
H A D | openssl.c | 3333 if(share->store) { in oss_x509_share_free() 3336 free(share->CAfile); in oss_x509_share_free() 3337 free(share); in oss_x509_share_free() 3378 if(share && share->store && in get_cached_x509_store() 3381 store = share->store; in get_cached_x509_store() 3402 if(!share) { in set_cached_x509_store() 3403 share = calloc(1, sizeof(*share)); in set_cached_x509_store() 3404 if(!share) in set_cached_x509_store() 3410 free(share); in set_cached_x509_store() 3426 if(share->store) { in set_cached_x509_store() [all …]
|
/curl/packages/vms/ |
H A D | curl_startup.com | 63 $ hp_ssl_libcrypto32 = "sys$share:ssl$libcrypto_shr32.exe" 64 $ hp_ssl_libssl32 = "sys$share:ssl$libssl_shr32.exe"
|
H A D | setup_gnv_curl_build.com | 117 $ try_shr = "sys$share:" + try_shr 126 $ try_shr = "sys$share:gss$rtl" 134 $ try_shr = "sys$share:ssl$libcrypto_shr''pointer_size'" 141 $ try_shr = "sys$share:ssl$libssl_shr''pointer_size'" 265 $ link/share=gnv$curlmsg.exe [.packages.vms]curlmsg.obj
|
H A D | build_vms.com | 560 $ libsslshr = "sys$share:ssl$libssl_shr" 571 $ libcryptoshr_line = "''libcryptoshr'.exe/share" 598 $ libsslshr_line = "ssllib:libssl_shr.exe/share" 599 $ libcryptoshr_line = "ssllib:libcrypto_shr.exe/share" 622 $ try_shr = "sys$share:gss$rtl" 632 $ gssrtlshr_line = "''try_shr'/share"
|
H A D | curl_release_note_start.txt | 21 The GNV based build creates a libcurl share imaged which is supplied in the
|
/curl/docs/libcurl/ |
H A D | libcurl-thread.md | 26 You must **never** share the same handle in multiple threads. You can pass the 32 You can share certain data between multiple handles by using the share 37 share API (the connection pool and HSTS cache for example).
|
H A D | Makefile.inc | 119 libcurl-share.3 \
|
H A D | curl_easy_duphandle.md | 41 SSL sessions and no cookies. It also does not inherit any share object states
|
H A D | libcurl.md | 25 libcurl-easy(3), libcurl-multi(3), libcurl-share(3), 84 You can have multiple easy handles share certain data, even if they are used 85 in different threads. This magic is setup using the share interface, as 86 described in the libcurl-share(3) man page.
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_DNS_USE_GLOBAL_CACHE.md | 36 See CURLOPT_SHARE(3) and curl_share_init(3) for the correct way to share DNS
|
H A D | CURLOPT_ABSTRACT_UNIX_SOCKET.md | 42 share the same storage and therefore only one of them can be set per handle.
|
/curl/tests/libtest/ |
H A D | mk-lib1521.pl | 324 CURLSH *share = NULL;
|
/curl/tests/data/ |
H A D | test1538 | 154 s1: Unknown share option 156 s3: Invalid share handle
|
/curl/include/curl/ |
H A D | typecheck-gcc.h | 157 #define curl_share_setopt(share,opt,param) curl_share_setopt(share,opt,param) argument
|
H A D | curl.h | 3044 CURL_EXTERN CURLSHcode curl_share_setopt(CURLSH *share, CURLSHoption option, 3046 CURL_EXTERN CURLSHcode curl_share_cleanup(CURLSH *share); 3256 #define curl_share_setopt(share,opt,param) curl_share_setopt(share,opt,param) argument
|
/curl/docs/ |
H A D | TODO | 229 The share interface could benefit from allowing the alt-svc cache to be 230 possible to share between easy handles. 234 The share interface offers CURL_LOCK_DATA_CONNECT to have multiple easy 235 handle share a connection cache, but due to how connections are used they are 240 The share interface offers CURL_LOCK_DATA_HSTS to have multiple easy handle 241 share a HSTS cache, but this is not thread-safe. 254 Using the share interface users can share some data between easy handles but 256 share between multiple concurrent threads. Fixing this would enable more 257 users to share data in more powerful ways. 767 Add support for listing the contents of a SMB share. The output should [all …]
|