curl / Mailing Lists / curl-library / Single Mail


Re: curl_multi_perform callback busyloop

From: Daniel Stenberg <>
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.

List admin:
Received on 2016-12-02