Skip to content

utils: guard tlsConfigRegister by a lock #613

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

Merged
merged 3 commits into from
Jun 16, 2017
Merged

utils: guard tlsConfigRegister by a lock #613

merged 3 commits into from
Jun 16, 2017

Conversation

julienschmidt
Copy link
Member

@julienschmidt julienschmidt commented Jun 9, 2017

Description

Fixes #610

Checklist

  • Code compiles correctly
  • Created tests which fail without the change (if possible)
  • All tests passing
  • Extended the README / documentation, if necessary
  • Added myself / the copyright holder to the AUTHORS file

@julienschmidt julienschmidt added this to the v1.4 milestone Jun 9, 2017
@julienschmidt julienschmidt merged commit 8fefef0 into master Jun 16, 2017
tolsen pushed a commit to tolsen/mysql that referenced this pull request May 17, 2018
* utils: guard tlsConfigRegister by a lock

Fixes go-sql-driver#610

* utils: move TLSConfig lock and clone logic to helper func
@julienschmidt julienschmidt deleted the tlsconfig branch October 2, 2018 18:42
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