curl-library
Re: curl_multi_perform callback busyloop
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 2 Dec 2016 12:41:42 +0100 (CET)
Date: Fri, 2 Dec 2016 12:41:42 +0100 (CET)
On Wed, 30 Nov 2016, Sergey Naumov wrote:
> I use curl_multi_perform, curl_multi_timeout and curl_multi_fdset in the
> main loop and curl_multi_perform in callback that is called when there is
> an event on CURL fd.
Wait, what? You call curl_multi_perform() from within which callback? I hope
that isn't a libcurl callback, because you should never call libcurl
recursively like that.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2016-12-02