library/Requests/Transport/cURL.php 1 location
|
@@ 240-242 (lines=3) @@
|
| 237 |
|
curl_multi_remove_handle($multihandle, $done['handle']); |
| 238 |
|
curl_close($done['handle']); |
| 239 |
|
|
| 240 |
|
if (!is_string($responses[$key])) { |
| 241 |
|
$options['hooks']->dispatch('multiple.request.complete', array(&$responses[$key], $key)); |
| 242 |
|
} |
| 243 |
|
$completed++; |
| 244 |
|
} |
| 245 |
|
} |
library/Requests/Transport/fsockopen.php 1 location
|
@@ 308-310 (lines=3) @@
|
| 305 |
|
$responses[$id] = $e; |
| 306 |
|
} |
| 307 |
|
|
| 308 |
|
if (!is_string($responses[$id])) { |
| 309 |
|
$request['options']['hooks']->dispatch('multiple.request.complete', array(&$responses[$id], $id)); |
| 310 |
|
} |
| 311 |
|
} |
| 312 |
|
|
| 313 |
|
return $responses; |