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

QWebSocket immediately disconnects after without receiving anything

    XMLWordPrintable

Details

    • e0d159c9f (dev), 1f709e4e1 (6.7), 1eb2247a1 (6.6), a351675da (tqtc/lts-6.5)
    • Foundations Sprint 99

    Description

      As soon as client receives any message, the socket closed. The close code and reason output is:

      disconnected 1002 "Rsv field is non-zero"

      The QWebSocketServer works in this case, but if you implement websocket server using QWebSocketServer::handleConnection() to upgrade from the tcp socket, then rhensame problem occurs.

      To reproduce, please run the attached example.

      Attachments

        Issue Links

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

          Activity

            People

              ievgenii.meshcheriakov Ievgenii Meshcheriakov
              tuomas.vaarala Tuomas Vaarala
              Vladimir Minenko Vladimir Minenko
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews