http://bugs.winehq.org/show_bug.cgi?id=58526
Bug ID: 58526 Summary: GetQueuedFinishionStatus bug Product: Wine Version: 10.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: hahamotor@126.com Distribution: ---
The server program adopts Windows' completion port technology. When the remote client unexpectedly disconnects, on the native Windows operating system, the GetQueuedFinishionStatus function returns False. At this time, the error code indicating the remote connection has been disconnected can be queried through GetLastError. However, in the Wine 10.12 version, this function returns TRUE to indicate successful operation, causing the program to be unable to detect remote connection disconnections. Other versions have been tested and all have the same error.