diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-11-20 23:16:19 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-11-20 23:16:19 +0000 |
commit | e2b2a84497ca8a4460397e69be2c7fa1a37d6453 (patch) | |
tree | 3f471339e41d3a69b5fd74a580c81363ffef9724 /docs/libcurl | |
parent | 86956c226130e4c9a088021047f79ef2c833697e (diff) |
clarify somewhat what happens to some data when a share is set to be used
Diffstat (limited to 'docs/libcurl')
-rw-r--r-- | docs/libcurl/curl_easy_setopt.3 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index 8bdcf2172..bda3fecd2 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -1491,6 +1491,14 @@ this curl handle use the data from the shared handle instead of keeping the data to itself. This enables several curl handles to share data. If the curl handles are used simultaneously, you \fBMUST\fP use the locking methods in the share handle. See \fIcurl_share_setopt(3)\fP for details. + +If you add a share that is set to share cookies, your easy handle will use +that cookie cache and get the cookie engine enabled. If you unshare an object +that were using cookies (or change to another object that doesn't share +cookies), the easy handle will get its cookie engine disabled. + +Data that the share object is not set to share will be dealt with the usual +way, as if no share was used. .IP CURLOPT_NEW_FILE_PERMS Pass a long as a parameter, containing the value of the permissions that will be assigned to newly created files on the remote server. The default value is |