Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treat upstream internal server errors as temporary failures (closes #336) #337

Merged
merged 1 commit into from
Jul 9, 2016

Conversation

jchambers
Copy link
Owner

Prior to this change, we were treating upstream internal server errors as permanent rejections. This change introduces a special case for internal server errors so that they'll be treated as temporary write failures (i.e. write futures will fail with an ApnsServerException) instead of permanent rejections (i.e. a successful future with a PushNotificationResponse that reports isRejected as true).

@jchambers jchambers added this to the v0.8 milestone Jul 8, 2016
@jchambers jchambers merged commit 0bb2283 into master Jul 9, 2016
@jchambers jchambers deleted the fail_write_on_server_error branch July 9, 2016 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant