Skip to content

Commit 58592bd

Browse files
committed
🛠 Adjust retry strategy errors.
1 parent 1e40379 commit 58592bd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Sources/Exchange/HTTP/Plugins/Retriers/RetryStrategy.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,23 +235,23 @@ open class RetryStrategy: HTTPRequestRetrier {
235235

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

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

244244
// Authentication is required to access a resource.
245245
// [Disabled] - Unlikely to change during a retry.
246-
.userAuthenticationRequired,
246+
//.userAuthenticationRequired,
247247

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

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

0 commit comments

Comments
 (0)