-
Notifications
You must be signed in to change notification settings - Fork 35
Set default HTTP status codes not to retry on #337
Copy link
Copy link
Closed
Labels
category:breaking_changeA breaking change will be introduced if this issue is completed.A breaking change will be introduced if this issue is completed.status:completedCompleted - but might not be released yet.Completed - but might not be released yet.type:enhancementNew features or improvements to existing features.New features or improvements to existing features.
Milestone
Metadata
Metadata
Assignees
Labels
category:breaking_changeA breaking change will be introduced if this issue is completed.A breaking change will be introduced if this issue is completed.status:completedCompleted - but might not be released yet.Completed - but might not be released yet.type:enhancementNew features or improvements to existing features.New features or improvements to existing features.
Related to Android tracker issue 518.
Since version 0.12.0, it has been possible to configure HTTP status codes which should not be retried (issue #316). This functionality relied on the developer providing a list of codes. It would be better to automatically not retry certain codes.
Instead of retrying collector requests for all non-2xx status codes, disable the retry functionality for the following HTTP status codes by default:
All other non-2xx status codes should be retried on.
The list of HTTP status codes for which to retry or not-retry should be user customizable (e.g., the user should be able to force retries on 403 status code).