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

taskprov: Improve extension payload handling #442

Merged
merged 1 commit into from
Nov 29, 2023
Merged

Conversation

cjpatton
Copy link
Contributor

Partially addresses #350.
Stacked on #441.

  • If taskprov is disabled for the task, then handle the extension as unrecognized.
  • If taskprov is enabled, then assert that the extension payload is empty (in draft07).
  • Fence the payload consistency check to draft02.

Copy link
Contributor Author

@cjpatton cjpatton left a comment

Choose a reason for hiding this comment

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

Reviewer tip: This is much easier to review if you hide whitespace.

@cjpatton cjpatton force-pushed the cjpatton/next-dap-13 branch 3 times, most recently from 6d957e1 to 45fafba Compare November 29, 2023 00:16
daphne/src/messages/mod.rs Outdated Show resolved Hide resolved
@cjpatton cjpatton requested a review from mendess November 29, 2023 15:48
@cjpatton cjpatton force-pushed the cjpatton/next-dap-12 branch from ef17992 to 76f6dd7 Compare November 29, 2023 16:01
@cjpatton cjpatton force-pushed the cjpatton/next-dap-13 branch from 45fafba to 2bdfc8c Compare November 29, 2023 17:01
@cjpatton cjpatton force-pushed the cjpatton/next-dap-12 branch from 76f6dd7 to 26ad064 Compare November 29, 2023 18:18
Base automatically changed from cjpatton/next-dap-12 to main November 29, 2023 18:47
* If taskprov is disabled for the task, then handle the extension as
  unrecognized.

* If taskprov is enabled, then assert that the extension payload is
  empty (in draft07).

* Fence the payload consistency check to draft02.

While at it, align unimplemented-extension serialization with other
unimplemented fields.
@cjpatton cjpatton force-pushed the cjpatton/next-dap-13 branch from 2bdfc8c to 440f762 Compare November 29, 2023 19:00
@cjpatton cjpatton merged commit 2a0e615 into main Nov 29, 2023
4 checks passed
@cjpatton cjpatton deleted the cjpatton/next-dap-13 branch November 29, 2023 19:12
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