diff --git a/ixwebsocket/IXSocket.cpp b/ixwebsocket/IXSocket.cpp index 18d1ccbb..f5cde89c 100644 --- a/ixwebsocket/IXSocket.cpp +++ b/ixwebsocket/IXSocket.cpp @@ -64,7 +64,7 @@ namespace ix fds[0].fd = sockfd; fds[0].events = (readyToRead) ? POLLIN : POLLOUT; - // this is ignored by poll, but our select based poll wrapper on Windows needs it + // this is ignored by poll, but our select based poll wrapper on Windows needs it fds[0].events |= POLLERR; // File descriptor used to interrupt select when needed diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 37549fe0..9c915772 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -55,12 +55,12 @@ set (SOURCES IXDNSLookupTest.cpp IXWebSocketSubProtocolTest.cpp IXSentryClientTest.cpp + IXWebSocketChatTest.cpp ) # Some unittest don't work on windows yet if (UNIX) list(APPEND SOURCES - IXWebSocketChatTest.cpp IXWebSocketCloseTest.cpp ) endif()