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

QWebSocket doesn't emit bytesWritten signal

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes