Retry to send request at CURLE_SSL_CONNECT_ERROR

This commit is contained in:
Takeshi Nakatani 2014-04-04 16:23:56 +00:00
parent 157612e7e7
commit 8bba566774

View File

@ -1572,6 +1572,11 @@ int S3fsCurl::RequestPerform(void)
sleep(2);
break;
case CURLE_SSL_CONNECT_ERROR:
DPRN("### CURLE_SSL_CONNECT_ERROR");
sleep(2);
break;
case CURLE_SSL_CACERT:
// try to locate cert, if successful, then set the
// option and continue