-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.7.0, 5.8.0
-
None
-
The issue is present on Windows 10, 64-bits, MSVC 2015.
This issue is not present on Linux (Ubuntu 14.04 & 16.04 tested with Qt 5.7).
There may also be issues on Mac Sierra, but I have not tested that lately.
In our unit tests we have a test that sets up QWebSocketServer and then connects to that server, using QWebSockets. These tests routinely fail on Windows 10, even with just two connections.
The attachment has a minimal sample to reproduce the problem. Running the sample code in two processes, I can create 100 connections and it never fails. Running the code in one process (–combined flag), I cannot get more than 20-30 connections at once, the remaining connections are just left in some weird limbo. See Readme.md in the zip for detailed instructions.