Community
Participate
Working Groups
The SocketConnectionTest.testServerClosedConnection is currently excluded from the build because it fails with 100% CPU. If the test is slowed down with sleeps/debug, it completes successfully. When it fails, it appears that the first request is completed OK and the second request send call completes, but the call to serverSocket.accept() never gets a new connection and something consumes 100% CPU.
Fixed. The problem was that the parser was reading -1 but the connection never closed, and this lead to CPU spinning. Test had to be modified since it cannot work like it does for the SelectConnector.