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

Windows: Qt WebEngine prevents other connections to single-threaded http server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P2: Important P2: Important
    • None
    • 5.10.1, 5.11.2
    • WebEngine
    • Single-threaded server: Windows 10
      Client: any

      If QWebEngineView has loaded a page from single-threaded server, no connections from other clients are accepted until the application with QWebEngineView has been closed. Maybe the tcp connection has not been closed properly. This happens when the server is running on Windows 10 (macOS, Win7 works correctly). The clients can be on any platform.

      This is regression, because the error was not reproducible in Qt 5.7. Also the problem is not visible on multi-threaded server.

      The problem can be reproduced with Simple Browser example on localhost.
      1. Run single-threaded server on Windows 10. Python SimpleHTTPServer can be used for testing:
      For python2:
      python -m SimpleHTTPServer 8000
      For python3:
      python -m http.server 8000
      2. Run Simple Browser and connect to localhost:8000
      3. Run any other browser and try to connect to localhost:8000
      4. The second connection fails.
      5. Close Simple Browser. The second connection succeeds.

      If the repro steps are performed with two Chrome browsers, both connections succeed.

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

            qt_webengine_team Qt WebEngine Team
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes