add workaround for openssl 0.9 bug (http://tt-rss.org/forum/viewtopic.php?t=2420&p=13734#p13734)
This commit is contained in:
parent
898f86c073
commit
aefed7f75c
|
@ -4153,6 +4153,10 @@
|
||||||
curl_setopt($curl, CURLOPT_TIMEOUT, 60);
|
curl_setopt($curl, CURLOPT_TIMEOUT, 60);
|
||||||
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
|
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
|
||||||
|
|
||||||
|
if ((OPENSSL_VERSION_NUMBER >= 0x0090808f) && (OPENSSL_VERSION_NUMBER < 0x10000000)) {
|
||||||
|
curl_setopt($curl, CURLOPT_SSLVERSION, 3);
|
||||||
|
}
|
||||||
|
|
||||||
$html = curl_exec($curl);
|
$html = curl_exec($curl);
|
||||||
|
|
||||||
$status = curl_getinfo($curl);
|
$status = curl_getinfo($curl);
|
||||||
|
|
Loading…
Reference in New Issue