Skip to content

Commit 207bd09

Browse files
committed
cpl_http: retry "SSL connection timeout"
This fixes the same issue as OSGeo/PROJ#4419 fixes in PROJ.
1 parent 25fd4e0 commit 207bd09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

port/cpl_http.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,8 @@ static double CPLHTTPGetNewRetryDelay(int response_code, double dfOldDelay,
618618
(strstr(pszCurlError, "Connection timed out") ||
619619
strstr(pszCurlError, "Operation timed out") ||
620620
strstr(pszCurlError, "Connection reset by peer") ||
621-
strstr(pszCurlError, "Connection was reset"))))
621+
strstr(pszCurlError, "Connection was reset") ||
622+
strstr(pszCurlError, "SSL connection timeout"))))
622623
{
623624
bRetry = true;
624625
}

0 commit comments

Comments
 (0)