Fix SSL options for Twitter bridge HTTP requests
This commit is contained in:
parent
9694e3e4cf
commit
3556861596
@ -197,6 +197,7 @@ class OAuthClient
|
|||||||
'timeout' => 120,
|
'timeout' => 120,
|
||||||
'follow_redirects' => true,
|
'follow_redirects' => true,
|
||||||
'ssl_verify_peer' => false,
|
'ssl_verify_peer' => false,
|
||||||
|
'ssl_verify_host' => false
|
||||||
));
|
));
|
||||||
|
|
||||||
// Twitter is strict about accepting invalid "Expect" headers
|
// Twitter is strict about accepting invalid "Expect" headers
|
||||||
|
@ -183,7 +183,8 @@ class TwitterBasicAuthClient
|
|||||||
'follow_redirects' => true,
|
'follow_redirects' => true,
|
||||||
'connect_timeout' => 120,
|
'connect_timeout' => 120,
|
||||||
'timeout' => 120,
|
'timeout' => 120,
|
||||||
'ssl_verifypeer' => false,
|
'ssl_verify_peer' => false,
|
||||||
|
'ssl_verify_host' => false
|
||||||
));
|
));
|
||||||
|
|
||||||
if ($auth) {
|
if ($auth) {
|
||||||
|
Loading…
Reference in New Issue
Block a user