Connection teardown is unsafe #6
Labels
No labels
bug
dependencies
duplicate
enhancement
hacktoberfest-accepted
invalid
question
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-moonlight-stream/moonlight-common-c#6
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
LiStopConnection() can cause exceptions to be raised on Windows because it closes handles underneath pending send() and recv() calls. It is generally most visible on Windows but affects all platforms. I think there may be issues with mutexes too.
I think we'll need to use non-blocking socket I/O to fix the socket part of this.
Fixed in no_cancel branch.