summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_url.class7
1 files changed, 6 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index 6fcc941..f9cafc7 100644
--- a/it_url.class
+++ b/it_url.class
@@ -344,6 +344,8 @@ static function get_multi($p=null)
{
$p += array('retries' => 1);
+ EDC('req', $p['urls']);
+
$url = new it_url;
$p['headers'] = (array)$p['headers'] + array_diff_key(self::_default_headers($url, $p), ['Host' => null]);
@@ -450,7 +452,10 @@ static function get_multi($p=null)
$closehandle($key);
curl_multi_close($mh);
- return $p['noresults'] ? null : it::filter_keys($results_unordered, $keyorder, ['reorder' => true]);
+ $result = $p['noresults'] ? null : it::filter_keys($results_unordered, $keyorder, ['reorder' => true]);
+ EDC('res', $result);
+
+ return $result;
}
/**