cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: AIX multithreaded problem in CURLE_SSL_CONNECT_ERROR,why?

From: hzhijun <hzhijun_at_huawei.com>
Date: Tue, 16 Nov 2004 10:26:28 +0800

----- Original Message -----
From: "Daniel Stenberg" <daniel-curl_at_haxx.se>
To: "libcurl development" <curl-library_at_cool.haxx.se>
Sent: Monday, November 15, 2004 10:07 PM
Subject: Re: AIX multithreaded problem in CURLE_SSL_CONNECT_ERROR,why?

> On Mon, 15 Nov 2004, hzhijun wrote:
>
> >> Have you set the OpenSSL multithread-callbacks for locking etc?
>
> > How and where to set it?
>
> You really should consider reading the libcurl-tutorial man page first.
>
> Then you should read this:
>
> http://www.openssl.org/docs/crypto/threads.html#DESCRIPTION
>
    
i think it maybe no need to set the OpenSSL multithread-callbacks for locking in my program
since i only use easy curl handle in multithread program,and my callback function set by
curl_easy_setopt(CURLOPT_WRITEFUNCTION) use the memory realloced by each thread
seperately.

> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-11-16