timeout 10seconds
This commit is contained in:
parent
bbccb1b102
commit
5fb337d761
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
class TCP {
|
class TCP {
|
||||||
|
|
||||||
public static function http($url, $method='GET', $verifySSL=true, $timeOut=1, $followRedirections=true, $binary=true, $headers=false)
|
public static function http($url, $method='GET', $verifySSL=true, $timeOut=10, $followRedirections=true, $binary=true, $headers=false)
|
||||||
{
|
{
|
||||||
if( function_exists('curl_version') ) {
|
if( function_exists('curl_version') ) {
|
||||||
$ch = curl_init();
|
$ch = curl_init();
|
||||||
|
|
Loading…
Reference in New Issue