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

Ambiguity between "operation cancelled" and "0-length operation completed" #490

Open
alexcrichton opened this issue Apr 1, 2025 · 0 comments
Labels

Comments

@alexcrichton
Copy link
Collaborator

Assuming #444 with respect to 0-length reads writes there's an ambiguity when cancelling an operation between whether the operation was cancelled or wheter the 0-length operation completed. This was discussed briefly at #444 (comment) and it sounds like there are encoding changes planned to address this. Regardless though I wanted to open an issue here to write a FIXME in some code, so this is basically a tracking issue for said encoding changes.

alexcrichton added a commit to alexcrichton/witx-bindgen that referenced this issue Apr 3, 2025
Handle the fact that cancellation/0-length writes look the same.
@alexcrichton alexcrichton changed the title Ambiguity between "operation cancelled" and "0-lenght operation completed" Ambiguity between "operation cancelled" and "0-length operation completed" Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants