diff options
Diffstat (limited to 'admin/WebConsole')
-rw-r--r-- | admin/WebConsole/principal/sondeo.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/admin/WebConsole/principal/sondeo.php b/admin/WebConsole/principal/sondeo.php index 6cb76baa..7cc87512 100644 --- a/admin/WebConsole/principal/sondeo.php +++ b/admin/WebConsole/principal/sondeo.php @@ -56,7 +56,10 @@ $urls[$ip] = "https://$ip:8000/opengnsys/status"; } // Launch concurrent requests. - $responses = multiRequest($urls); + $options = array(CURLOPT_SSL_VERIFYHOST => false, + CURLOPT_SSL_VERIFYPEER => false, + CURLOPT_TIMEOUT_MS => 1000); + $responses = multiRequest($urls, $options); // Process responses array (IP as array index). foreach ($responses as $ip => $resp) { if (isset($resp['data'])) { |