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

Fix USBIP_CMD_UNLINK behaviour #43

Merged
merged 1 commit into from
Jan 14, 2024

Conversation

h7x4
Copy link
Collaborator

@h7x4 h7x4 commented Jan 13, 2024

I have completely misunderstood the intent of USBIP_CMD_UNLINK to mean something else than it's supposed to be. In the current implementations, the correct behavior would be close to a no-op, because we handle all requests in a serial fashion (although #34 might provide the possibility of cancelling URBs).

I have removed the test that reflects the misunderstanding. I do not think it's worth writing a new test for the no-op behavior.

@jiegec: I'm not sure how many client libraries actively send these unlink requests, but I think this would warrant a patch release nonetheless. It might be a quite severe regression, rendering the library unusable for many people.

Fixes #39

@jiegec jiegec merged commit 28f4f7a into jiegec:master Jan 14, 2024
6 checks passed
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.

Server wrongly assumes devices are no longer used after unlink command
2 participants