Merge branch 'tid' of https://github.com/paroga/libwebsockets
This commit is contained in:
commit
e85ddb4822
1 changed files with 2 additions and 0 deletions
|
@ -1532,6 +1532,8 @@ libwebsocket_service(struct libwebsocket_context *context, int timeout_ms)
|
|||
}
|
||||
|
||||
ev = WSAWaitForMultipleEvents(context->fds_count + 1, context->events, FALSE, timeout_ms, FALSE);
|
||||
context->service_tid = 0;
|
||||
|
||||
if (ev == WSA_WAIT_TIMEOUT) {
|
||||
libwebsocket_service_fd(context, NULL);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue