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

QWebSocketServer cannot handle IPv6 incoming connection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.10.0 RC, 5.9.4, 5.10.1, 5.11.0 RC 1
    • WebSockets
    • None
    • macos 10.12.6, windows 7 64
    • a4afeaa8b0b00373eab1b2a974aed2cbed128844

    Description

      when example client use address like:

      ws://[::1]:1234

      ws://[::ffff:192.168.10.2]:1234

      ws://[fe80::6b:52a1:f3c7:a16a]:1234

      ws://[3ffe:ffff:7654:feda:1245:ba98:3210:4562]:1234

       

      it is always caught

      onError:  QAbstractSocket::RemoteHostClosedError

      "The remote host closed the connection"

       

      This happens in all the following examples:

       

      Echo Client/Server Example

      QML WebSocket Client/Server Example

      SSL Echo Client/Server Example

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            merak 子江 杨
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes