diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml index 152edcf4..5bd1d200 100644 --- a/.github/workflows/build_linux.yml +++ b/.github/workflows/build_linux.yml @@ -17,7 +17,7 @@ jobs: mkdir build.paho cd build.paho echo "pwd $PWD" - cmake -DPAHO_BUILD_STATIC=FALSE -DPAHO_BUILD_SHARED=TRUE -DCMAKE_BUILD_TYPE=Debug -DPAHO_WITH_SSL=TRUE -DOPENSSL_ROOT_DIR= -DPAHO_BUILD_DOCUMENTATION=FALSE -DPAHO_BUILD_SAMPLES=TRUE -DPAHO_HIGH_PERFORMANCE=FALSE .. + cmake -DPAHO_BUILD_STATIC=FALSE -DPAHO_BUILD_SHARED=TRUE -DCMAKE_BUILD_TYPE=Debug -DPAHO_WITH_SSL=TRUE -DOPENSSL_ROOT_DIR= -DPAHO_BUILD_DOCUMENTATION=FALSE -DPAHO_BUILD_SAMPLES=TRUE -DPAHO_HIGH_PERFORMANCE=TRUE .. cmake --build . - name: Start test broker run: | @@ -30,7 +30,7 @@ jobs: - name: run tests run: | cd build.paho - ctest -VV --timeout 600 -R "test5-7-ws-big-messages" + ctest -VV --timeout 600 - name: clean up run: | killall python3 || true diff --git a/.github/workflows/build_macos.yml b/.github/workflows/build_macos.yml index bfb18c3b..6d69b479 100644 --- a/.github/workflows/build_macos.yml +++ b/.github/workflows/build_macos.yml @@ -30,7 +30,7 @@ jobs: - name: run tests run: | cd build.paho - ctest -VV --timeout 600 -R "test5-7-ws-big-messages" + ctest -VV --timeout 600 - name: clean up run: | killall python3 || true diff --git a/src/Socket.c b/src/Socket.c index 61177b32..417ab8e5 100644 --- a/src/Socket.c +++ b/src/Socket.c @@ -238,17 +238,7 @@ int isReady(int index) FUNC_ENTRY; if ((mod_s.saved.fds[index].revents & POLLHUP) || (mod_s.saved.fds[index].revents & POLLNVAL)) - //; /* signal work to be done if there is an error on the socket */ -#if defined(_WIN32) || defined(_WIN64) - printf("isReady socket %ld POLLHUP %d POLLNVAL %d POLLIN %d POLLOUT %d\n", -#else - printf("isReady socket %d POLLHUP %d POLLNVAL %d POLLIN %d POLLOUT %d\n", -#endif - *socket, - (mod_s.saved.fds[index].revents & POLLHUP), - (mod_s.saved.fds[index].revents & POLLNVAL), - (mod_s.saved.fds[index].revents & POLLIN), - (mod_s.saved.fds[index].revents & POLLOUT)); + ; /* signal work to be done if there is an error on the socket */ else if (ListFindItem(mod_s.connect_pending, socket, intcompare) && (mod_s.saved.fds[index].revents & POLLOUT)) ListRemoveItem(mod_s.connect_pending, socket, intcompare); @@ -689,11 +679,6 @@ int Socket_close(SOCKET socket) } } Log(TRACE_MIN, -1, "Removed socket %d", socket); - - printf("Socket_close:\n"); -#if !defined(HIGH_PERFORMANCE) - StackTrace_printStack(stdout); -#endif } else Log(LOG_ERROR, -1, "Failed to remove socket %d", socket);