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

contrib/google.golang.org/grpc: fix race condition when setting metadata #302

Merged
merged 1 commit into from
Aug 6, 2018

Conversation

dd-caleb
Copy link
Contributor

@dd-caleb dd-caleb commented Aug 6, 2018

Fixes #301

Copying the metadata before modifying it should fix the issue.

@erichgess erichgess self-requested a review August 6, 2018 17:53
@dd-caleb dd-caleb merged commit 2ef3281 into v1 Aug 6, 2018
@dd-caleb dd-caleb deleted the caleb/grpc-bug branch August 6, 2018 18:05
mingrammer pushed a commit to mingrammer/dd-trace-go that referenced this pull request Dec 22, 2020
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.

contrib/google.golang.org/grpc: race condition when injecting metadata into context
2 participants