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

QWebSocket emits bytesWritten twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.11.0
    • 5.9.1
    • WebSockets
    • None
    • 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

            manordheim MÃ¥rten Nordheim
            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