]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_multi_remove_handle.3: clarify what happens with connection
authorDaniel Stenberg <daniel@haxx.se>
Thu, 7 Sep 2023 16:08:57 +0000 (18:08 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 7 Sep 2023 17:47:02 +0000 (19:47 +0200)
Closes #11817

docs/libcurl/curl_multi_remove_handle.3

index c9205479afd030a00d05c61c7e4400e84799c774..7e129ce017d62217b79c5d70bfe7b0ac8dfeb104 100644 (file)
@@ -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 */