cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: unpausing an upload

From: Justin Karneges <justin_at_fanout.io>
Date: Tue, 23 Jul 2013 10:53:40 -0700

On Tue, Jul 23, 2013 at 4:39 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Mon, 22 Jul 2013, Justin Karneges wrote:
>
> Instead of curl_multi_socket_action() with CURL_SOCKET_TIMEOUT, it seems
>> the better answer is curl_multi_socket_all().
>>
>
> Right, that's a better work-around but if you have many handles running
> that'll cause you quite a significant performance hit.
>
> I suggest a fix like the attached one, what do you think about it?
>

Doesn't seem to work. I expect that my timer callback should get called
during curl_easy_pause() to set up a new timer? No call to my callback is
made. I sprinkled some debug prints into curl though and I see your
Curl_expire(.., 1) is getting called internally at least.

-- 
Justin Karneges
Fanout, Inc.
530-220-7222

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-07-23