Merge pull request #3216 from annando/1701-performance

Better network handling, improved structure
This commit is contained in:
Tobias Diekershoff 2017-03-12 15:40:56 +01:00 committed by GitHub
commit 1bf089e424
10 changed files with 333 additions and 212 deletions

View file

@ -143,6 +143,8 @@ function z_fetch_url($url,$binary = false, &$redirects = 0, $opts=array()) {
logger('fetch_url error fetching '.$url.': '.curl_error($ch), LOGGER_NORMAL);
}
$ret['errno'] = curl_errno($ch);
$base = $s;
$curl_info = @curl_getinfo($ch);