diff options
author | Denis Chaplygin <denis.chaplygin@wolt.com> | 2019-10-01 10:55:08 +0300 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-10-03 14:36:03 +0200 |
commit | 0b386392d60360bd642e0f115249debea3367913 (patch) | |
tree | 703a98536c3a9511641814ff2a5e12fcd60c55e1 /docs | |
parent | 683102e0a0e319f76b41a53c5331a717df218e0d (diff) |
docs: add note on failed handles not being counted by curl_multi_perform
Closes #4446
Diffstat (limited to 'docs')
-rw-r--r-- | docs/libcurl/curl_multi_perform.3 | 2 | ||||
-rw-r--r-- | docs/libcurl/libcurl-multi.3 | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/libcurl/curl_multi_perform.3 b/docs/libcurl/curl_multi_perform.3 index d2ae541cf..eb4553d6c 100644 --- a/docs/libcurl/curl_multi_perform.3 +++ b/docs/libcurl/curl_multi_perform.3 @@ -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. diff --git a/docs/libcurl/libcurl-multi.3 b/docs/libcurl/libcurl-multi.3 index 96013552f..f5e2984c5 100644 --- a/docs/libcurl/libcurl-multi.3 +++ b/docs/libcurl/libcurl-multi.3 @@ -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 |