From 8bba566774c802a1613721d7e42685f649a0c870 Mon Sep 17 00:00:00 2001 From: Takeshi Nakatani Date: Fri, 4 Apr 2014 16:23:56 +0000 Subject: [PATCH] Retry to send request at CURLE_SSL_CONNECT_ERROR --- src/curl.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/curl.cpp b/src/curl.cpp index fd10642..08a1cf6 100644 --- a/src/curl.cpp +++ b/src/curl.cpp @@ -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