mirror of
https://github.com/curl/curl.git
synced 2026-07-22 23:17:17 +03:00
curl_easy_cleanup.3: remove from multi handle 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 Closes #7983
This commit is contained in:
parent
0942017162
commit
11a46d6d66
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue