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

moq-transport: Fix u8 encoding #10

Merged
merged 1 commit into from
Oct 31, 2024
Merged

moq-transport: Fix u8 encoding #10

merged 1 commit into from
Oct 31, 2024

Conversation

englishm
Copy link
Owner

Fixes u8 encoding so we can encode values larger than 64.

Previously we were incorrectly encoding values larger than 64 as
varints, including the current default subscriber priority of 127, and
then incorrectly decoding those mis-encoded values as 64.

I introduced this bug in 7eeecb7

Thanks to @TilsonJoji for helping to identify the issue in #9

Fixes u8 encoding so we can encode values larger than 64.

Previously we were incorrectly encoding values larger than 64 as
varints, including the current default subscriber priority of 127, and
then incorrectly decoding those mis-encoded values as 64.

I introduced this bug in 7eeecb7

Thanks to @TilsonJoji for helping to identify the issue in #9
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.

1 participant