mirror of
https://github.com/moonlight-stream/GS-IPv6-Forwarder.git
synced 2025-07-01 15:25:31 +00:00
Comment out logging that is prone to races and crashes
This commit is contained in:
parent
b7a5c7be4b
commit
0b89325668
@ -257,7 +257,8 @@ TcpListenerThreadProc(LPVOID Context)
|
||||
}
|
||||
|
||||
if (connect(targetSocket, (PSOCKADDR)&targetAddress, sizeof(targetAddress)) == SOCKET_ERROR) {
|
||||
printf("connect() failed: %d\n", WSAGetLastError());
|
||||
// FIXME: This can race with reopening stdout and cause a crash in the CRT
|
||||
//printf("connect() failed: %d\n", WSAGetLastError());
|
||||
closesocket(acceptedSocket);
|
||||
closesocket(targetSocket);
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user