Skip to content
New issue

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

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

Already on GitHub? # to your account

Discard request in case of 401 or 405 #460

Merged
merged 1 commit into from
May 10, 2016
Merged

Discard request in case of 401 or 405 #460

merged 1 commit into from
May 10, 2016

Conversation

F43nd1r
Copy link
Member

@F43nd1r F43nd1r commented May 10, 2016

My Acralyzer instance was spammed with requests (and now shut down by the host) due to one client retrying to connect in case of a 401 UNAUTHORIZED response.

I do not know how it could happen that just one client sends bad login credentials, but retrying is not the correct way to handle this.

Similarily a 405 response means the server doesn't accept get/post. Retrying with the same method won't do anything.

@william-ferguson-au william-ferguson-au merged commit 7d85726 into ACRA:master May 10, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants