[Bug 41379] Terrible performance hit for small messages
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Sep 27 12:39:37 CDT 2016
https://bugs.winehq.org/show_bug.cgi?id=41379
--- Comment #6 from Bruno Jesus <00cpxxx at gmail.com> ---
You are not on wine 1.9.19, just open the file dlls/ws2_32/socket.c and look
for the function "static int WS2_recv_base" then in the end of the function you
will find:
TRACE(" -> %i bytes\n", n);
if (wsa != &localwsa) HeapFree( GetProcessHeap(), 0, wsa );
release_sock_fd( s, fd );
_enable_event(SOCKET2HANDLE(s), FD_READ, 0, 0);
SetLastError(ERROR_SUCCESS);
return 0;
}
Then just delete or comment the line "_enable_event(SOCKET2HANDLE(s), FD_READ,
0, 0);"
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list