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

QWebSocket emits bytesWritten twice

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.9.1
    • Fix Version/s: 5.11.0
    • Component/s: WebSockets
    • Labels:
      None
    • Commits:
      416ca205ed89d5edf8cc0e3bb32b404b38f9f2ee

      Description

      It seems bytesWritten signal in QtWebsocket connected twice :
      from http://code.qt.io/cgit/qt/qtwebsockets.git/tree/src/websockets/qwebsocket_p.cpp?h=dev

      line 576

      {{ QObject::connect(pTcpSocket, &QAbstractSocket::bytesWritten, q, &QWebSocket::bytesWritten);}}

      then in line 607 in same function.

      also tested with echo client and verified the problem.

        Attachments

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

          Activity

            People

            Assignee:
            manordheim MÃ¥rten Nordheim
            Reporter:
            e.jahandar Ebrahun Jahandar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes