diff --git a/code/checks/ExternalURLCheck.php b/code/checks/ExternalURLCheck.php index a8a09b5..fb1530b 100644 --- a/code/checks/ExternalURLCheck.php +++ b/code/checks/ExternalURLCheck.php @@ -45,7 +45,8 @@ class ExternalURLCheck implements EnvironmentCheck { // Execute the handles do { $mrc = curl_multi_exec($mh, $active); - } while ($mrc == CURLM_CALL_MULTI_PERFORM); + curl_multi_select($mh); + } while ($active > 0); while ($active && $mrc == CURLM_OK) { if (curl_multi_select($mh) != -1) {