win32: skip delay in WSAWaitForMultipleEvents if POLLOUT expected

https://github.com/warmcat/libwebsockets/issues/994
This commit is contained in:
Mike Messina 2017-08-22 21:32:47 +08:00 committed by Andy Green
parent c60b2413a4
commit 0bb3646256

View file

@ -218,6 +218,9 @@ _lws_plat_service_tsi(struct lws_context *context, int timeout_ms, int tsi)
/* if something closed, retry this slot */
if (n)
i--;
if (wsi->trunc_len)
WSASetEvent(pt->events[0]);
}
/*