Skip to content

Discard request in case of 401 or 405 - #460

Merged
william-ferguson-au merged 1 commit into
ACRA:masterfrom
F43nd1r:responsecode
May 10, 2016
Merged

Discard request in case of 401 or 405#460
william-ferguson-au merged 1 commit into
ACRA:masterfrom
F43nd1r:responsecode

Conversation

@F43nd1r

@F43nd1r F43nd1r commented May 10, 2016

Copy link
Copy Markdown
Member

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
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.

2 participants