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

Attempt to parse future version of TraceContext #2473

Merged
merged 1 commit into from
Dec 7, 2022
Merged

Conversation

marcotc
Copy link
Member

@marcotc marcotc commented Dec 7, 2022

Currently, the W3C Trace Context spec only defines version 00 of the format.

But it also defines how to be lenient when parsing future versions: we should attempt to parse headers as version 00 if the future format matches 00 parsing rules.

This PR makes a few changes to make parsing more lenient to non-00 versions.

@marcotc marcotc requested a review from a team December 7, 2022 00:03
@marcotc marcotc merged commit af47f98 into master Dec 7, 2022
@marcotc marcotc deleted the w3c-version branch December 7, 2022 20:26
@github-actions github-actions bot added this to the 1.8.0 milestone Dec 7, 2022
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.

None yet

2 participants