mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Set a timeout on curl so we fail faster
This commit is contained in:
parent
d9b29fa82a
commit
3027123fbd
@ -559,6 +559,7 @@ class SharingBase extends LoggedInTest
|
||||
$curl = curl_init($link);
|
||||
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
|
||||
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
|
||||
curl_setopt($curl, CURLOPT_TIMEOUT, 3);
|
||||
$cookie = '';
|
||||
if($GLOBALS['egw']->session->sessionid || $share['share_with'])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user