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

WebAssembly websockets bytes sent is 0 for sendTextMessage / sendBinaryMessage

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.0, 6.6.0
    • 6.4.2
    • WebSockets
    • None
    • chrome / firefox
    • WebAssembly
    • a43383a74 (dev), 1ac893c20 (6.5), b7c35f6fb (6.4)

    Description

      Using QWebsocket in c++ with the linked code,

       

      You will see that the return value of method sendTextMessage and sendBinaryMessage are 0.

       

      Tested using my own websocket server (python3 websockets) or https://www.piesocket.com/websocket-tester.

      (note that piesocket.com/websocket-tester answer to a binary message as a text message.)

      Attachments

        1. CMakeLists.txt
          0.8 kB
        2. Controller.cpp
          1 kB
        3. Controller.h
          0.7 kB
        4. main.cpp
          0.5 kB
        5. main.qml
          1.0 kB
        6. websocket-echo.py
          0.3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lpotter Lorn Potter
            qdel Deldycke Quentin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes