]> granicus.if.org Git - curl/commitdiff
docs: add note on failed handles not being counted by curl_multi_perform
authorDenis Chaplygin <denis.chaplygin@wolt.com>
Tue, 1 Oct 2019 07:55:08 +0000 (10:55 +0300)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 3 Oct 2019 12:36:03 +0000 (14:36 +0200)
Closes #4446

docs/libcurl/curl_multi_perform.3
docs/libcurl/libcurl-multi.3

index d2ae541cf0a2b1300f0bea7b2d6775f670ec3734..eb4553d6c52b33051168d58addf04b69fb0a1295 100644 (file)
@@ -46,6 +46,8 @@ know that there is one or more transfers less "running". You can then call
 \fIcurl_multi_info_read(3)\fP to get information about each individual
 completed transfer, and that returned info includes CURLcode and more. If an
 added handle fails very quickly, it may never be counted as a running_handle.
+You could use \fIcurl_multi_info_read(3)\fP to track actual status of the
+added handles in that case.
 
 When \fIrunning_handles\fP is set to zero (0) on the return of this function,
 there is no longer any transfers in progress.
index 96013552fa7cb3946b109a35940def57bd36dc9e..f5e2984c51a9f47bde10bc24224e7efa9aac04df 100644 (file)
@@ -97,8 +97,7 @@ period for your select() calls.
 \fIcurl_multi_perform(3)\fP stores the number of still running transfers in
 one of its input arguments, and by reading that you can figure out when all
 the transfers in the multi handles are done. 'done' does not mean
-successful. One or more of the transfers may have failed. Tracking when this
-number changes, you know when one or more transfers are done.
+successful. One or more of the transfers may have failed. 
 
 To get information about completed transfers, to figure out success or not and
 similar, \fIcurl_multi_info_read(3)\fP should be called. It can return a