You are here

private function PurgeHandlerCurl::multi_exec in Purge 7.2

Wrapper for curl_multi_exec().

1 call to PurgeHandlerCurl::multi_exec()
PurgeHandlerCurl::execute_multi in includes/purge.class.inc
Function to process multiple purges with curl.

File

includes/purge.class.inc, line 595
Contains all class and interface definitions for Purge.

Class

PurgeHandlerCurl
Class definition for the Curl HTTP request library.

Code

private function multi_exec($curl_purges, &$active) {
  do {
    $multi_result = curl_multi_exec($curl_purges, $active);
  } while ($multi_result == CURLM_CALL_MULTI_PERFORM);
  return $multi_result;
}