curl / Mailing Lists / curl-library / Single Mail

curl-library

How to fix libcurl error(easy handled already used in multi handle) ?

From: kishore koney via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 8 Feb 2019 00:06:05 -0800

> Hi,
>
> I am using *libcurl(version = 7.61.1*]*)* easy API for downloading http
> url/files(as byte-range chunks). I am getting libcurl_easy_perform() return
> error_code(*2*) and errorBuffer((*easy handled already used in multi
> handle*).
> I am opening 10 concurrent active libcurl easy handles as part of 10
> threads in a process. Is that OK ? Is there any limit on how many
> concurrent libcurl easy handles(libcurl_easy_init) a process can keep
> active at a time ?
>
> *I do not get this error all the time but once in a while(1 out of 10 easy
> handles). Are there any tips on handling this error ? What context will
> raise this error ?*
>
> Thanks for your help
> krishna koney
>

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-02-08