1
0
Fork 0
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:
Andy Green 2015-12-17 15:35:41 +08:00
parent eee0d8af5f
commit ddd79cbbb5

View file

@ -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... */