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

[FAB-17540] Fix for race read/write tlsconfig #1050

Merged
merged 1 commit into from
Apr 10, 2020

Conversation

stephyee
Copy link
Contributor

@stephyee stephyee commented Apr 9, 2020

Type of change

  • Bug fix

Description

Lock read/write access to tlsconfig to prevent data race

Related issues

FAB-17540

- Encapsulate tls.Config in a struct with a lock to prevent data races
when accesing tls.Config
- Fix TestCreds assertion on creds.Clone() was invalid because of
tls.Config's mutex

Signed-off-by: Tiffany Harris <tiffany.harris@ibm.com>
@stephyee stephyee requested a review from a team as a code owner April 9, 2020 21:14
@yacovm yacovm merged commit b03b3d9 into hyperledger:release-1.4 Apr 10, 2020
C0rWin pushed a commit to C0rWin/fabric that referenced this pull request Sep 15, 2020
- Encapsulate tls.Config in a struct with a lock to prevent data races
when accesing tls.Config
- Fix TestCreds assertion on creds.Clone() was invalid because of
tls.Config's mutex

Signed-off-by: Tiffany Harris <tiffany.harris@ibm.com>
@stephyee stephyee deleted the fab-17540-release-1.4 branch October 7, 2020 15:00
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