mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
win cover clearing sock_send_blocking when external poll
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
eee0d8af5f
commit
ddd79cbbb5
1 changed files with 6 additions and 0 deletions
|
@ -476,6 +476,12 @@ lws_service_fd(struct lws_context *context, struct lws_pollfd *pollfd)
|
|||
|
||||
goto close_and_handled;
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
if (pollfd->revents & LWS_POLLOUT)
|
||||
wsi->sock_send_blocking = FALSE;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* okay, what we came here to do... */
|
||||
|
|
Loading…
Add table
Reference in a new issue