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

Clone event context before setting the distributed tracing extension #351

Merged
merged 2 commits into from
Mar 6, 2020

Conversation

ian-mi
Copy link
Contributor

@ian-mi ian-mi commented Mar 6, 2020

This prevents the client from mutating the caller's copy of the event
allowing for sharing across multiple clients. Also includes a cherry pick of PR #333 to fix event context Clone()

Backports fix for #350.

@ian-mi ian-mi force-pushed the client-copy-ctx-v1 branch from 5f98a88 to ea72bed Compare March 6, 2020 04:36
ian-mi and others added 2 commits March 5, 2020 20:42
This prevents the client from mutating the caller's copy of the event
allowing for sharing across multiple clients.

Signed-off-by: Ian Milligan <ianmllgn@gmail.com>
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
@ian-mi ian-mi force-pushed the client-copy-ctx-v1 branch from ea72bed to 8172a8e Compare March 6, 2020 04:42
@n3wscott
Copy link
Member

n3wscott commented Mar 6, 2020

LGTM

@n3wscott n3wscott merged commit a29c9e9 into cloudevents:release-1.y.z Mar 6, 2020
@ian-mi ian-mi deleted the client-copy-ctx-v1 branch March 6, 2020 22:48
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.

3 participants