Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
socket.cpp: change error code for TCP disconnect
The NTSTATUS code used for TCP disconnect (STATUS_REMOTE_DISCONNECT) is translated into Win32 error ERROR_NETNAME_DELETED - the same code to which keepalive timeout (STATUS_CONNECTION_DISCONNECTED) is translated. To differentiate between those, use STATUS_CONNECTON_ABORTED, which is translated into Win32 code ERROR_CONNECTION_ABORTED. Signed-off-by: Lev Stipakov <[email protected]>
- Loading branch information