summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-03-01 12:03:42 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-03-01 12:03:42 +0100
commit61f5aa6c02f80ef6f42e03466818c49fc1913d6b (patch)
tree28a2577d7d7fcf32c7d21d16c6434fbe40309eac
parent754ae103989a6ad0869d23a6a427d652b5b4a2fe (diff)
downloadcurl-bagder/duphandle-gets-no-share.tar.gz
curl_easy_duphandle.3: clarify that a duped handle has no sharesbagder/duphandle-gets-no-share
Reported-by: Sara Golemon Fixes #3592
-rw-r--r--docs/libcurl/curl_easy_duphandle.310
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/libcurl/curl_easy_duphandle.3 b/docs/libcurl/curl_easy_duphandle.3
index cef3870d5..97d04f740 100644
--- a/docs/libcurl/curl_easy_duphandle.3
+++ b/docs/libcurl/curl_easy_duphandle.3
@@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____|
.\" *
-.\" * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" *
.\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms
@@ -39,10 +39,12 @@ will be pointed to by the new handle as well. You must therefore make sure to
keep the data around until both handles have been cleaned up.
The new handle will \fBnot\fP inherit any state information, no connections,
-no SSL sessions and no cookies.
+no SSL sessions and no cookies. It also will not inherit any share object
+states or options (it will be made as if \fICURLOPT_SHARE(3)\fP was set to
+NULL).
-\fBNote\fP that even in multi-threaded programs, this function must be called
-in a synchronous way, the input handle may not be in use when cloned.
+In multi-threaded programs, this function must be called in a synchronous way,
+the input handle may not be in use when cloned.
.SH RETURN VALUE
If this function returns NULL, something went wrong and no valid handle was
returned.