curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: curl multi, how can I get info about paused handle?

From: Ray Satiro via curl-library <>
Date: Fri, 22 Mar 2024 01:09:07 -0400

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].


Received on 2024-03-22