Merge pull request #11359 from udan11/curl_fix

Fixes cURL timeout.
This commit is contained in:
Marc Delisle 2015-08-06 08:17:58 -04:00
commit e7028ad263

View File

@ -778,6 +778,7 @@ class PMA_Config
curl_setopt($handle, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($handle, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($handle, CURLOPT_TIMEOUT, 5);
curl_setopt($handle, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
if (! defined('TESTSUITE')) {
session_write_close();
}