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

QWebSocket doesn't emit bytesWritten signal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.4.0
    • 5.3.0
    • Network: Sockets
    • None
    • Ubuntu 12.04
    • d6a24fd24597af8cdff5944d32a54acb01b806f3

      In the attached zip file there is a modified 'echoserver' application where QWebSocket::bytesWritten signal is connected to a slot in EchoServer in EchoServer::onNewConnection. However the slot does not get called when the server echos back data written from the client. If the same modification is done to the 'SslEchoServer' application, the slot is not getting called either.

      For convenience the 'echoclient' is attached also.

      Steps to reproduce:
      1. compile and run 'echoserver'
      2. compile and run 'echoclient'

      Expected result:
      "number of bytes written" should be displayed in the console

      Actual result:
      no "number of bytes written" is not getting displayed to the console

        1. QTBUG-39551.zip
          9 kB
          Qt Support
        For Gerrit Dashboard: QTBUG-39551
        # Subject Branch Project Status CR V

            kandeler Christian Kandeler
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes