Skip to content

Commit c6a2cf9

Browse files
authored
Merge pull request #4420 from OSGeo/backport-4419-to-9.6
[Backport 9.6] Retry "SSL connection timeout"
2 parents e2f0432 + 95d71e8 commit c6a2cf9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/networkfilemanager.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1696,7 +1696,8 @@ static double GetNewRetryDelay(int response_code, double dfOldDelay,
16961696
(response_code == 400 && pszErrBuf &&
16971697
strstr(pszErrBuf, "RequestTimeout")) ||
16981698
(pszCurlError && strstr(pszCurlError, "Connection reset by peer")) ||
1699-
(pszCurlError && strstr(pszCurlError, "Connection timed out"))) {
1699+
(pszCurlError && strstr(pszCurlError, "Connection timed out")) ||
1700+
(pszCurlError && strstr(pszCurlError, "SSL connection timeout"))) {
17001701
// Use an exponential backoff factor of 2 plus some random jitter
17011702
// We don't care about cryptographic quality randomness, hence:
17021703
// coverity[dont_call]

0 commit comments

Comments
 (0)