Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-60882

QWebSocket intra-process connections fail on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.7.0, 5.8.0
    • WebSockets
    • 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.
    • macOS

      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.

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kurt.pattyn Kurt Pattyn
            bug-enthusiast Tommi Ilmonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes