Merge pull request #13 from InterThread/disable-curl-ssl3

Disabled CURL SSLv3
This commit is contained in:
Stephen Vickers 2016-11-28 16:44:29 +00:00 committed by GitHub
commit c9cbfdd5e2
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ class HTTPMessage
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLINFO_HEADER_OUT, true);
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_SSLVERSION,3);
//curl_setopt($ch, CURLOPT_SSLVERSION,3);
$chResp = curl_exec($ch);
$this->ok = $chResp !== false;
if ($this->ok) {