cURL / Mailing Lists / curl-library / Single Mail

curl-library

About CURLOPT_SSLVERSION

From: Woods <woods.biz_at_gmail.com>
Date: Sat, 5 Apr 2014 23:21:45 +0800

I understand CURLOPT_SSLVERSION has default value CURL_SSLVERSION_DEFAULT -
This will attempt to figure out the remote SSL protocol version, i.e.
either SSLv3 or TLSv1.

However, I do encounter a HTTPS connection, that gives me
CURLE_SSL_CONNECT_ERROR for easy perform, and I need to set
CURL_SSLVERSION_SSLv3 to make it work properly.

What I wish to find out is whether curl can do this protocol adaptation
automatically as specified by CURL_SSLVERSION_DEFAULT. Or do I miss
something in the code? Thanks.

-- 
Woods

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-04-05