diff --git a/classes/URLanalyzer.php b/classes/URLanalyzer.php index d876d66..11c1289 100644 --- a/classes/URLanalyzer.php +++ b/classes/URLanalyzer.php @@ -25,6 +25,7 @@ class URLAnalyzer { //Set timeout curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout); + curl_setopt($ch, CURLOPT_TIMEOUT, 5); //Get the response curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);