mirror of
https://github.com/curl/curl.git
synced 2025-03-31 16:00:35 +08:00
curl_multi_remove_handle.3: clarify what happens with connection
Closes #11817
This commit is contained in:
parent
63b9073c6a
commit
28f8440c0b
@ -43,6 +43,13 @@ handles and transfers remain unaffected.
|
||||
|
||||
It is fine to remove a handle at any time during a transfer, just not from
|
||||
within any libcurl callback function.
|
||||
|
||||
Removing an easy handle from the multi handle before the corresponding
|
||||
transfer is complete might cause libcurl to close the connection - if the
|
||||
state of it and the internal protocol handler deem it necessary. Otherwise
|
||||
libcurl keeps the connection alive in the connection pool associated with the
|
||||
multi handle, ready to get reused for a future transfer using this multi
|
||||
handle.
|
||||
.SH EXAMPLE
|
||||
.nf
|
||||
/* when an easy handle has completed, remove it */
|
||||
|
Loading…
x
Reference in New Issue
Block a user