On 3/21/2024 1:13 PM, Barton Mighty via curl-library wrote:
It seems curl_multi_info_read() can only get finished easy handles. The problem is, for handle paused by returning CURL_WRITEFUNC_PAUSE, there is no easy way to figure out when the process of the handle has returned, thus a user callback can be called.
libcurl does not have an option that can be used to determine whether the transfer was paused. You can keep track of it and check in the progress function by using the user pointer that is passed to the progress function [1] or CURLINFO_PRIVATE [2].
[1]: https://curl.se/libcurl/c/CURLOPT_XFERINFODATA.html [2]: https://curl.se/libcurl/c/CURLINFO_PRIVATE.html
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html