curl-library
Re: curl_easy_perform does not return if the readfunc_callback returns
Date: Fri, 15 Nov 2013 08:13:04 +0100
On Thu, Nov 14, 2013 at 01:00:03PM -0800, Dheeraj Sangamkar wrote:
> Is the curl_easy_perform supposed to return when the read callback function
> returns CURL_READFUNC_PAUSE?
No.
> If yes, how to get around the problem?
CURL_READFUNC_PAUSE is usually only useful when using the multi interface,
since curl_multi_perform always returns immediately no matter if the handles
are paused or not. But, you can pause a handle when using the easy interface if
you want to, but about the only way to unpause it will be from the progress
callback.
>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-11-15