Skip to content

Commit

Permalink
Merge branch 'main' into gcc-13
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 authored Dec 18, 2024
2 parents 6c3c1dd + 75b0c07 commit a05ff5a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions source/s3_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -2108,12 +2108,11 @@ static void s_s3_client_on_acquire_http_connection(
error_code,
aws_error_str(error_code));

if (error_code == AWS_IO_DNS_INVALID_NAME || error_code == AWS_IO_TLS_ERROR_NEGOTIATION_FAILURE ||
error_code == AWS_ERROR_PLATFORM_NOT_SUPPORTED || error_code == AWS_IO_SOCKET_INVALID_OPTIONS) {
if (error_code == AWS_IO_DNS_INVALID_NAME || error_code == AWS_ERROR_PLATFORM_NOT_SUPPORTED ||
error_code == AWS_IO_SOCKET_INVALID_OPTIONS) {
/**
* Fall fast without retry
* Fail fast without retry
* - Invalid DNS name will not change after retry.
* - TLS negotiation is expensive and retry will not help in most case.
*/
AWS_LOGF_ERROR(
AWS_LS_S3_META_REQUEST,
Expand Down

0 comments on commit a05ff5a

Please sign in to comment.