mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 22:15:56 +00:00
force set curl timeouts
This commit is contained in:
@@ -237,6 +237,8 @@
|
||||
|
||||
if ($fp) {
|
||||
curl_setopt($ch, CURLOPT_FILE, $fp);
|
||||
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 15);
|
||||
curl_setopt($ch, CURLOPT_TIMEOUT, 45);
|
||||
curl_exec($ch);
|
||||
curl_close($ch);
|
||||
fclose($fp);
|
||||
|
||||
Reference in New Issue
Block a user