mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
windows: Remove useless code
WSASetEvent(pt->events) just makes WSAWaitForMultipleEvents() return, it will not set LWS_POLLOUT in pfd->revents and thus has IMHO no effect. If WSAWaitForMultipleEvents() will set LWS_POLLOUT it will also signal the event automatically.
This commit is contained in:
parent
e17820cf67
commit
248826d7fc
1 changed files with 0 additions and 6 deletions
|
@ -93,12 +93,6 @@ _lws_plat_service_tsi(struct lws_context *context, int timeout_ms, int tsi)
|
|||
/* if something closed, retry this slot */
|
||||
if (n)
|
||||
i--;
|
||||
|
||||
/*
|
||||
* any wsi has truncated, force him signalled
|
||||
*/
|
||||
if (wsi->trunc_len)
|
||||
WSASetEvent(pt->events);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue