cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Multithreaded problem on HP-UX

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 24 Aug 2004 14:44:26 +0200 (CEST)

On Tue, 24 Aug 2004, Andrei Tarassov wrote:

> I have a problem with accessing HTTPS sites on HP-UX. The
> curl_easy_perform() call returns code 35, but the error buffer contains no
> clue about what problem could have happened with SSL: all error codes are 0.
> The problem occurs only in multithreaded programs. HTTP works fine.

You you set the OpenSSL callbacks?

         http://www.openssl.org/docs/crypto/threads.html#DESCRIPTION

> (thanks to folks who found that curl and ssl have to be compiled with
> -D_THREAD_SAFE).

Hm, I wonder if we should set this define by default... Currently this is only
set for AIX builds and now you say HPUX needs it as well...

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