cURL / Mailing Lists / curl-users / Single Mail

curl-users

libcurl / openssl error

From: Moffet, Scott <SMoffet_at_linkpoint.com>
Date: Fri, 15 Nov 2002 11:44:06 -0800

I'm having a strange error with libCurl in HP-UX 11.00, using OpenSSL
0.9.6g.

I have my wrapper class in two projects. One is a standalone project
and it works fine. The other is inside a server that uses OpenSSL for
the inbound client connections, so the SSL_library_init() and such are
in the main() function. The SSL descriptors that set the input method
to TLS server occur inside threads.

Then, from inside that thread, my wrapper class tries to post to a web
page and gets an error, shutting down the connection. The VEBOSE output
is:

CUROPT_VEBOSE is set to TRUE
* About to connect() to ah1hpux1.linkpoint.com:443
* Connected to ah1hpux1.linkpoint.com (192.168.40.32) port 443
* SSL: error:00000000:lib(0):func(0):reason(0)* Closing connection #0

I put the errors into a text string and the text is:
curl_errors = "SSL: error:00000000:lib(0):func(0):reason(0)"

libcURL SHOULD be using a seperate instance of OpenSSL, but is it
possible that the client and server are colliding? This indicates SSL
had no error ... any guess why it's shutting down the connection?

-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
Received on 2002-11-15