Searched refs:timeout (Results 26 – 27 of 27) sorted by path
12
/dokuwiki/vendor/simplepie/simplepie/src/ |
H A D | Sanitize.php | 87 public $timeout = 10; variable in SimplePie\\Sanitize 169 public function pass_file_data($file_class = 'SimplePie\File', $timeout = 10, $useragent = '', $force_fsockopen = false) argument 171 if ($timeout) { 172 $this->timeout = (string) $timeout; 428 $file = $this->registry->create(File::class, [$img->getAttribute('src'), $this->timeout, 5, ['X-FORWARDED-FOR' => $_SERVER['REMOTE_ADDR']], $this->useragent, $this->force_fsockopen]);
|
H A D | SimplePie.php | 480 public $timeout = 10; variable in SimplePie\\SimplePie 831 * Set the default timeout for fetching remote feeds 837 * @param int $timeout The maximum number of seconds to spend waiting to retrieve a feed. 839 public function set_timeout($timeout = 10) argument 841 $this->timeout = (int) $timeout; 958 if ($this->timeout != 10) { 959 $options[CURLOPT_TIMEOUT] = $this->timeout; 1554 $this->sanitize->pass_file_data($this->registry->get_class(File::class), $this->timeout, $this->useragent, $this->force_fsockopen, $this->curl_options); 1777 $file = $this->registry->create(File::class, [$this->feed_url, $this->timeout/1 [all...] |
12