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

Lock server during Open() #2197

Merged
merged 1 commit into from
Apr 8, 2015
Merged

Lock server during Open() #2197

merged 1 commit into from
Apr 8, 2015

Conversation

otoolep
Copy link
Contributor

@otoolep otoolep commented Apr 8, 2015

Fix issue #2196

@otoolep otoolep force-pushed the server_open_race branch from d8a1fe5 to 7258a4b Compare April 8, 2015 16:18
@otoolep
Copy link
Contributor Author

otoolep commented Apr 8, 2015

s.path was being accessed by two different goroutines, without any synchronization.

@jwilder
Copy link
Contributor

jwilder commented Apr 8, 2015

👍 provided test pass.

@otoolep
Copy link
Contributor Author

otoolep commented Apr 8, 2015

Thanks @jwilder

otoolep added a commit that referenced this pull request Apr 8, 2015
@otoolep otoolep merged commit 6c7bda0 into master Apr 8, 2015
@otoolep otoolep deleted the server_open_race branch April 8, 2015 16:23
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