CURLSHOPT_(UN)SHARE.md: do not modify shares while in use
No binary (build failed)
—
(log yok)
| @@ -35,6 +35,9 @@ CURLSHOPT_SHARE(3) multiple times with different data arguments to have | |
| the share object share multiple types of data. Unset a type again by setting | |
| CURLSHOPT_UNSHARE(3). | |
| + | Do not add types to a shared object that is being in use. Add them only |
| + | between transfers. |
| + | |
| If any of the data is to be shared in multiple threads then mutex callbacks | |
| must be set as well. See CURLSHOPT_LOCKFUNC(3) and CURLSHOPT_UNLOCKFUNC(3). | |
| @@ -36,6 +36,9 @@ below. You can set CURLSHOPT_UNSHARE(3) multiple times with different | |
| data arguments to remove multiple types from the shared object. Add data to | |
| share again with CURLSHOPT_SHARE(3). | |
| + | Do not remove types from a shared object that is being in use. Unshare them |
| + | only between transfers. |
| + | |
| ## CURL_LOCK_DATA_COOKIE | |
| Cookie data is no longer shared across the easy handles using this shared | |