Skip to content

Commit

Permalink
Merge pull request #119 from Zelevova/alpha
Browse files Browse the repository at this point in the history
getURLBackground to the Unix system
  • Loading branch information
sergejey committed Aug 3, 2017
2 parents 16a3dfc + 3254b92 commit 4587fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common.class.php
Expand Up @@ -769,7 +769,7 @@ function getURL($url, $cache = 0, $username = '', $password = '', $background =
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);

if ($background) {
//curl_setopt($ch, CURLOPT_TIMEOUT, 1);
curl_setopt($ch, CURLOPT_NOSIGNAL, 1);
curl_setopt($ch, CURLOPT_TIMEOUT_MS, 1);
}

Expand Down

0 comments on commit 4587fcb

Please sign in to comment.