Connection teardown is unsafe #6

Closed
opened 2015-07-30 21:10:34 -05:00 by cgutman · 1 comment
cgutman commented 2015-07-30 21:10:34 -05:00 (Migrated from github.com)

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.

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.
cgutman commented 2016-02-16 08:18:44 -06:00 (Migrated from github.com)

Fixed in no_cancel branch.

Fixed in no_cancel branch.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-moonlight-stream/moonlight-common-c#6
No description provided.