mirror of
https://github.com/curl/curl.git
synced 2026-04-19 08:21:14 +03: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
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
separately by using CURLOPT_COOKIEFILE(3) for example.
|
||||
|
||||
It is not supported to share cookies between multiple concurrent threads.
|
||||
|
||||
## CURL_LOCK_DATA_DNS
|
||||
|
||||
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
|
||||
7.23.0.
|
||||
|
||||
It is not supported to share SSL sessions between multiple concurrent threads.
|
||||
|
||||
## CURL_LOCK_DATA_CONNECT
|
||||
|
||||
Put the connection cache in the share object and make all easy handles using
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue