|
@@ -74,7 +74,7 @@ function http_post_data($url, $body, $headers = array())
|
|
|
$ci = curl_init();
|
|
|
curl_setopt($ci, CURLOPT_USERAGENT, 'PHP-SDK OAuth2.0');
|
|
|
curl_setopt($ci, CURLOPT_CONNECTTIMEOUT, 3);
|
|
|
- curl_setopt($ci, CURLOPT_TIMEOUT, 3);
|
|
|
+ curl_setopt($ci, CURLOPT_TIMEOUT, 15);
|
|
|
curl_setopt($ci, CURLOPT_RETURNTRANSFER, true);
|
|
|
curl_setopt($ci, CURLOPT_SSL_VERIFYPEER, false);
|
|
|
curl_setopt($ci, CURLOPT_SSL_VERIFYHOST, false);
|