Only conecction timeout in login. Tiquet: #3485

(cherry picked from commit 21b3c370b1)
This commit is contained in:
m-lopez-f 2016-03-29 13:00:20 +02:00
parent 5d76e0fce8
commit b923519c75
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']);
}

View File

@ -637,4 +637,4 @@ function visual_map_editor_print_hack_translate_strings() {
echo '<span style="display: none" id="hack_translation_incorrect_save">' .
__('Could not be save') .'</span>';
}
?>
?>