notmaintained / wcurl

A convenience wrapper around PHP's cURL library
MIT License
6 stars 11 forks source link

Need to set CURLOPT_SSLVERSION to 3 #3

Open nashjain opened 10 years ago

nashjain commented 10 years ago

This is to avoid curl error no: 35 .i.e. Unknown SSL protocol error in connection to your_domain_name:443

sandeepshetty commented 10 years ago

By default PHP will try to determine this itself, although in some cases this must be set manually

http://php.net/manual/en/function.curl-setopt.php

This looks like it has to do with the server and it's not clear what the "cases" mentioned above are. Hard-coding doesn't seem like the right solution. Need to look into this some more.