Skip to content

Commit

Permalink
🛠 Adjust retry strategy errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-ricks committed Dec 22, 2023
1 parent 1e40379 commit 58592bd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Sources/Exchange/HTTP/Plugins/Retriers/RetryStrategy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -235,23 +235,23 @@ open class RetryStrategy: HTTPRequestRetrier {

// The URL Loading System encountered an error that it can’t interpret.
// [Disabled] - Unlikely to change during a retry.
.unknown,
//.unknown,

// A properly formed URL couldn’t be handled by the framework.
// [Disabled] - Unlikely to change during a retry.
.unsupportedURL,
//.unsupportedURL,

// Authentication is required to access a resource.
// [Disabled] - Unlikely to change during a retry.
.userAuthenticationRequired,
//.userAuthenticationRequired,

// An asynchronous request for authentication has been canceled by the user.
// [Disabled] - Unlikely to change during a retry.
.userCancelledAuthentication,
//.userCancelledAuthentication,

// A server reported that a URL has a non-zero content length, but terminated the network connection gracefully without sending any data.
// [Disabled] - Unlikely to change during a retry.
.zeroByteResource,
//.zeroByteResource,
]
}

Expand Down

0 comments on commit 58592bd

Please sign in to comment.