summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-11-10 08:41:51 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-11-10 08:41:51 +0100
commit17470d4cdea48772c1c9c53d36354517c0726b82 (patch)
tree204fc75665a9e8513a9c9f1590c1a28b2bbcfe65
parent9e560d11aad028de74addc0d1edfefa5667884f4 (diff)
downloadcurl-bagder/cleanup-remove-first.tar.gz
curl_easy_cleanup.3: remove from multi handle firstbagder/cleanup-remove-first
Easy handles that are used by the multi interface should be removed from the multi handle before they are cleaned up. Reported-by: Stephen M. Coakley Ref: #7982
-rw-r--r--docs/libcurl/curl_easy_cleanup.34
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/libcurl/curl_easy_cleanup.3 b/docs/libcurl/curl_easy_cleanup.3
index 3c3425624..c62f4e073 100644
--- a/docs/libcurl/curl_easy_cleanup.3
+++ b/docs/libcurl/curl_easy_cleanup.3
@@ -47,6 +47,10 @@ Any use of the \fBhandle\fP after this function has been called and have
returned, is illegal. \fIcurl_easy_cleanup(3)\fP kills the handle and all
memory associated with it!
+To close an easy handle that has been used with the multi interface, make sure
+to call \fIcurl_multi_remove_handle(3)\fP first to remove it from the multi
+handle before it is closed.
+
Passing in a NULL pointer in \fIhandle\fP will make this function return
immediately with no action.
.SH EXAMPLE