curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: curl_easy_perform() crash (more info)

From: Daniel Polski via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 13 Sep 2019 07:48:41 +0200

Den 2019-09-13 kl. 05:36, skrev Ray Satiro via curl-library:
>
> Refer to CURLOPT_SHARE [1], curl_share_setopt [2] and thread safety
> guidelines [3]. Excerpt from CURLOPT_SHARE:
>
> "If the curl handles are used simultaneously in multiple threads, you
> MUST use the locking methods in the share handle. See
> curl_share_setopt for details."
>

Thanks!
That solves my problem.
For some reason I thought the share got protected from inside curl when
specifying the share (I think I mixed up the docs from some other library).
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-09-13