Skip to content

Commit

Permalink
add CRT error as retryable
Browse files Browse the repository at this point in the history
  • Loading branch information
dayaffe committed Nov 22, 2024
1 parent 9ee63e1 commit c4307c5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public enum AWSRetryErrorInfoProvider: RetryErrorInfoProvider {
private static let transientCRTErrorCodes: [Int32] = [
2058, // httpConnectionClosed
2070, // httpServerClosed
2087, // AWS_ERROR_HTTP_STREAM_MANAGER_CONNECTION_ACQUIRE_FAILURE
]

// HTTP status codes that the Retry Behavior 2.0 specification say should be treated as transient errors.
Expand Down

0 comments on commit c4307c5

Please sign in to comment.