From 5fb337d761e0990619f8925a6778ce8ffd946604 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Wed, 25 Oct 2017 19:50:57 +0200 Subject: [PATCH] timeout 10seconds --- bl-kernel/helpers/tcp.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-kernel/helpers/tcp.class.php b/bl-kernel/helpers/tcp.class.php index 4b9264cf..3ebc6b07 100644 --- a/bl-kernel/helpers/tcp.class.php +++ b/bl-kernel/helpers/tcp.class.php @@ -2,7 +2,7 @@ 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') ) { $ch = curl_init();