Only conecction timeout in login. Tiquet: #3485

This commit is contained in:
m-lopez-f 2016-03-29 13:00:20 +02:00
parent d66db9212b
commit 21b3c370b1
2 changed files with 1 additions and 3 deletions

View File

@ -298,8 +298,6 @@ function update_manager_check_online_free_packages ($is_ajax=true) {
curl_setopt($curlObj, CURLOPT_POST, true);
curl_setopt($curlObj, CURLOPT_POSTFIELDS, $params);
curl_setopt($curlObj, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curlObj, CURLOPT_CONNECTTIMEOUT, 4);
if (isset($config['update_manager_proxy_server'])) {
curl_setopt($curlObj, CURLOPT_PROXY, $config['update_manager_proxy_server']);
}