mirror of
https://github.com/wolfpld/tracy.git
synced 2026-06-12 02:33:49 +00:00
Properly handle connection reset on win32.
This commit is contained in:
@@ -170,7 +170,7 @@ bool Socket::Read( void* _buf, int len, const timeval* tv, bool(*exitCb)() )
|
||||
#ifdef _WIN32
|
||||
{
|
||||
auto err = WSAGetLastError();
|
||||
if( err == WSAECONNABORTED ) return false;
|
||||
if( err == WSAECONNABORTED || err == WSAECONNRESET ) return false;
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user