summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc/coursebackend/coursebackend_exchange.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locationinfo/inc/coursebackend/coursebackend_exchange.inc.php')
-rwxr-xr-xmodules-available/locationinfo/inc/coursebackend/coursebackend_exchange.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules-available/locationinfo/inc/coursebackend/coursebackend_exchange.inc.php b/modules-available/locationinfo/inc/coursebackend/coursebackend_exchange.inc.php
index c61c3f2f..ffbca17f 100755
--- a/modules-available/locationinfo/inc/coursebackend/coursebackend_exchange.inc.php
+++ b/modules-available/locationinfo/inc/coursebackend/coursebackend_exchange.inc.php
@@ -234,6 +234,8 @@ class CourseBackend_Exchange extends CourseBackend
$client->setCurlOptions(array(
CURLOPT_SSL_VERIFYPEER => $this->verifyHostname ? 2 : 0,
CURLOPT_SSL_VERIFYHOST => $this->verifyCert ? 1 : 0,
+ CURLOPT_TIMEOUT => 15,
+ CURLOPT_CONNECTTIMEOUT => 3,
));
return $client;