Skip to content

Commit

Permalink
win32: skip delay in WSAWaitForMultipleEvents if POLLOUT expected
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Messina authored and lws-team committed Aug 22, 2017
1 parent c60b241 commit 0bb3646
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/lws-plat-win.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}

/*
Expand Down

0 comments on commit 0bb3646

Please sign in to comment.