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

Fix panic in checkAuth() if Gerrit is down #42

Merged
merged 2 commits into from
Oct 27, 2017
Merged

Conversation

opalmer
Copy link
Contributor

@opalmer opalmer commented Oct 26, 2017

Previously checkAuth() would fail if the socket
we expected to find Gerrit running on didn't
have anything listning. This would result in
the connection be refused and no response being
sent from GetAccount().

The checkAuth() function was always expecting
some kind of response which in turn caused the
panic.

Previously checkAuth() would fail if the socket
we expected to find Gerrit running on didn't
have anything listning. This would result in
the connection be refused and no response being
sent from GetAccount().

The checkAuth() function was always expecting
some kind of response which in turn caused the
panic.
@opalmer opalmer added the bug label Oct 26, 2017
@opalmer opalmer self-assigned this Oct 26, 2017
@opalmer opalmer added this to the 0.5.2 milestone Oct 26, 2017
@opalmer
Copy link
Contributor Author

opalmer commented Oct 26, 2017

@andygrunwald PTAL. This one is pretty simple, found it by accident while working on a project.

I'll probably have one or two more changes coming for 0.5.2 so I plan to hold off on a release for a bit.

@andygrunwald andygrunwald merged commit 3a74595 into master Oct 27, 2017
@andygrunwald
Copy link
Owner

Looks good to me.

@andygrunwald andygrunwald deleted the checkAuth-fix branch October 27, 2017 15:30
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.

2 participants