aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/curl_multi_cleanup.3
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-13 14:27:47 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-13 14:27:47 +0000
commitc1422864b5acdfd607b2689cb5d7c0d9a855e24a (patch)
treec8c6e0fbc2b61bf0cc970144ab8c4e7114507504 /docs/libcurl/curl_multi_cleanup.3
parent31a693b99a7eba3316e67142806c23fc40cf6a8a (diff)
additional info
Diffstat (limited to 'docs/libcurl/curl_multi_cleanup.3')
-rw-r--r--docs/libcurl/curl_multi_cleanup.311
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/libcurl/curl_multi_cleanup.3 b/docs/libcurl/curl_multi_cleanup.3
index cbe3f0f11..128c03a0f 100644
--- a/docs/libcurl/curl_multi_cleanup.3
+++ b/docs/libcurl/curl_multi_cleanup.3
@@ -11,7 +11,16 @@ curl_multi_cleanup - close down a multi session
.SH DESCRIPTION
Cleans up and removes a whole multi stack. It does not free or touch any
individual easy handles in any way - they still need to be closed
-individually, using the usual \fIcurl_easy_cleanup(3)\fP way.
+individually, using the usual \fIcurl_easy_cleanup(3)\fP way. The order of
+cleaning up should be:
+
+1 - \fIcurl_multi_remove_handle(3)\fP before any easy handles are cleaned up
+
+2 - \fIcurl_easy_cleanup(3)\fP can now be called independently since the easy
+handle is no longer connected to the multi handle
+
+3 - \fIcurl_multi_cleanup(3)\fP should be called when all easy handles are
+removed
.SH RETURN VALUE
CURLMcode type, general libcurl multi interface error code.
.SH "SEE ALSO"