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

Update batch mode-specific messages to include a length prefix. #3502

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

branlwyd
Copy link
Contributor

As before, we will (correctly) generate an invalidMessage error if we receive a message with an unknown batch mode, starting from an error generated at the point of parsing the batch mode discriminator byte.

As before, we will (correctly) generate an invalidMessage error if we
receive a message with an unknown batch mode, starting from an error
generated at the point of parsing the batch mode discriminator byte.
@branlwyd branlwyd requested a review from a team as a code owner November 19, 2024 18:55
@branlwyd
Copy link
Contributor Author

branlwyd commented Nov 19, 2024

Part of #3436.

This is achieved by `slice::from_ref` which converts a reference into a
one-element slice.
@branlwyd branlwyd merged commit 15b0542 into main Nov 22, 2024
7 of 8 checks passed
@branlwyd branlwyd deleted the bran/extension-point-encoding branch November 22, 2024 19:03
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