Skip to content

Commit

Permalink
don't retry platform not suported
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Jul 8, 2024
1 parent 0c3defa commit b174641
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/s3_meta_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -1619,6 +1619,7 @@ void aws_s3_meta_request_send_request_finish_default(
* has a result, then make sure that this request isn't retried. */
if (error_code == AWS_ERROR_S3_INVALID_RESPONSE_STATUS ||
error_code == AWS_ERROR_S3_INTERNAL_PART_SIZE_MISMATCH_RETRYING_WITH_RANGE ||
error_code == AWS_ERROR_PLATFORM_NOT_SUPPORTED ||
error_code == AWS_ERROR_S3_NON_RECOVERABLE_ASYNC_ERROR || meta_request_finishing) {
finish_code = AWS_S3_CONNECTION_FINISH_CODE_FAILED;
if (error_code == AWS_ERROR_S3_INTERNAL_PART_SIZE_MISMATCH_RETRYING_WITH_RANGE) {
Expand Down

0 comments on commit b174641

Please sign in to comment.