commit | ddd79cbbb58d23c2fac8fa8b8b5d23bf3dfa6468 | [log] [tgz] |
---|---|---|
author | Andy Green <andy.green@linaro.org> | Thu Dec 17 15:35:41 2015 +0800 |
committer | Andy Green <andy.green@linaro.org> | Thu Dec 17 15:35:41 2015 +0800 |
tree | cc7e325659517994764f92fff37b489840ddb391 | |
parent | eee0d8af5f001b9cb91fef117c5ca7e32b3f8320 [diff] |
win cover clearing sock_send_blocking when external poll Signed-off-by: Andy Green <andy.green@linaro.org>
diff --git a/lib/service.c b/lib/service.c index 2fc05af..6b6e289 100644 --- a/lib/service.c +++ b/lib/service.c
@@ -476,6 +476,12 @@ 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... */