mirror of
https://github.com/curl/curl.git
synced 2025-01-12 13:55:11 +08:00
CURLSHOPT_SHARE.md: mention sessions/cookies as not thread-safe
Sharing of these between threads are apparently also not done safely. Ref: #14290 Reported-by: Aki Sakurai Closes #14292
This commit is contained in:
parent
3af6a3a07a
commit
79677caa33
@ -41,6 +41,8 @@ Cookie data is shared across the easy handles using this shared object. Note
|
|||||||
that this does not activate an easy handle's cookie handling. You can do that
|
that this does not activate an easy handle's cookie handling. You can do that
|
||||||
separately by using CURLOPT_COOKIEFILE(3) for example.
|
separately by using CURLOPT_COOKIEFILE(3) for example.
|
||||||
|
|
||||||
|
It is not supported to share cookies between multiple concurrent threads.
|
||||||
|
|
||||||
## CURL_LOCK_DATA_DNS
|
## CURL_LOCK_DATA_DNS
|
||||||
|
|
||||||
Cached DNS hosts are shared across the easy handles using this shared
|
Cached DNS hosts are shared across the easy handles using this shared
|
||||||
@ -55,6 +57,8 @@ the same server. Note SSL session IDs are reused within the same easy handle
|
|||||||
by default. Note this symbol was added in 7.10.3 but was not implemented until
|
by default. Note this symbol was added in 7.10.3 but was not implemented until
|
||||||
7.23.0.
|
7.23.0.
|
||||||
|
|
||||||
|
It is not supported to share SSL sessions between multiple concurrent threads.
|
||||||
|
|
||||||
## CURL_LOCK_DATA_CONNECT
|
## CURL_LOCK_DATA_CONNECT
|
||||||
|
|
||||||
Put the connection cache in the share object and make all easy handles using
|
Put the connection cache in the share object and make all easy handles using
|
||||||
|
Loading…
Reference in New Issue
Block a user