Lines Matching refs:timeout
545 public static function filesize_remote($remotefile, $timeout=10) { argument
548 if ($fp = @fsockopen($parsed_url['host'], $parsed_url['port'], $errno, $errstr, $timeout)) {
551 stream_set_timeout($fp, $timeout);
566 public static function filedate_remote($remotefile, $timeout=10) { argument
569 if ($fp = @fsockopen($parsed_url['host'], $parsed_url['port'], $errno, $errstr, $timeout)) {
572 stream_set_timeout($fp, $timeout);
649 …public static function URLreadFsock($host, $file, &$errstr, $successonly=true, $port=-1, $timeout=… argument
656 …if ($fp = @fsockopen((($port == 443) ? 'ssl://' : '').$host, $port, $errno, $errstr, $timeout)) { …
760 public static function SafeURLread($url, &$error, $timeout=10, $followredirects=true) { argument
770 …ost'], $parsed_url['path'].'?'.$parsed_url['query'], $errstr, true, $parsed_url['port'], $timeout);
806 curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);