curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Crash while using multi handle

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Wed, 10 Apr 2019 11:53:11 +0200 (CEST)

On Tue, 9 Apr 2019, surya chandrika via curl-library wrote:

> Have configured multiple threads (to divided external interfaces logically),
> each has got its own multi handle (each multi handles have curl easy handles
> ) which is used to post request to different host. Initially i had only 2
> threads with each having a multi handle initialized- This was working fine.

It seems you might not be calling curl_global_init() in a single place first.
(Documented to not be thread safe.)

> curl 7.43.0 (x86_64-redhat-linux-gnu) libcurl/7.61.0 OpenSSL/1.1.0g
> zlib/1.2.7

That's a funny version combo. A very old curl tool with a reasonably new
libcurl version.

> Also would like to know which is the compatible gnutls version for libcurl
> Version: 7.64.0

curl is presumed to work with all gnuTLS versions from 2.11.3 and later.

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