win32: fix for 100% cpu, reset event

This commit is contained in:
Jay Sorg 2012-10-01 11:08:13 -07:00
parent 4937d74c45
commit 7a68fcf626

View File

@ -390,6 +390,9 @@ int transport_check_fds(rdpTransport** ptransport)
STREAM* received;
rdpTransport* transport = *ptransport;
#ifdef _WIN32
WSAResetEvent(transport->tcp->wsa_event);
#endif
wait_obj_clear(transport->recv_event);
status = transport_read_nonblocking(transport);