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

VSR: Assert request header fields #1522

Merged
merged 2 commits into from
Feb 8, 2024
Merged

Conversation

sentientwaffle
Copy link
Member

@sentientwaffle sentientwaffle commented Feb 6, 2024

A request's index number and message checksum are both also included in the corresponding reply message.

Verify that they match!

A request's index number and message checksum are both included in the corresponding reply message.

Verify that they match!
@sentientwaffle sentientwaffle marked this pull request as ready for review February 6, 2024 17:38
@@ -738,6 +738,7 @@ pub const Header = extern struct {
replica: u8,
reserved_frame: [16]u8 = [_]u8{0} ** 16,

/// The checksum of the corresponding Request.
parent: u128,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might call it request_checksum?

@sentientwaffle sentientwaffle added this pull request to the merge queue Feb 8, 2024
Merged via the queue into main with commit db4a692 Feb 8, 2024
25 checks passed
@sentientwaffle sentientwaffle deleted the dj-vsr-request-asserts branch February 8, 2024 08:18
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.

None yet

2 participants