curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: 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: Mon, 18 Feb 2019 20:02:03 -0800

Thanks Daniel. I will check it out..
Krishna Koney

On Sun, Feb 17, 2019 at 2:48 PM Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Wed, 13 Feb 2019, kishore koney via curl-library wrote:
>
> > Are you saying if thread_1 does init() &
> > if thread_2 uses the handle returned by init (from thread_1) to
> invoke
> > perform() API then we may get into "easy handled already used in multi
> > handle" issue ?
> > *Do we need same thread always invoke init + perform ?*
>
> You MUST NOT use the same handle from more than one thread at any time.
> Exactly how you make sure that is true, is up to you.
>
> But if you suspect this is a curl issue somehow, then please write up an
> example application that uses libcurl in a similar way that your app does
> so
> that you can show us and we can check it out and see what might be going
> on.
>
> --
>
> / daniel.haxx.se
>

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