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

[TIMOB-20415] Android: HttpClient Basic Auth Infinite loop fix #8050

Merged
merged 2 commits into from Jun 16, 2016

Conversation

ashcoding
Copy link
Contributor

@@ -27,9 +29,13 @@ public PasswordAuthentication getPasswordAuthentication() {
if (domain != null && !domain.isEmpty()) {
user = domain + "\\" + user;
}
if (password != null) {
return new PasswordAuthentication(user, password.toCharArray());
if (retryCount < MAX_RETRY_COUNT) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a workaround. Can you leave a comment in the code explaining what's going on?

@ashcoding
Copy link
Contributor Author

Comments addressed.

@hieupham007
Copy link
Contributor

Code reviewed and functionally tested. Request accepted

@hieupham007 hieupham007 merged commit acd8a35 into tidev:master Jun 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants