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

Since Qt 6.3 QWebSocket::errorString() displays random http status code if status != 400

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.4.1, 6.5.0 Beta1
    • 6.3, 6.4.0 RC1
    • WebSockets
    • None
    • All
    • 5
    • 17b96b3158 (qt/qtwebsockets/dev) 1d8fed1d61 (qt/qtwebsockets/6.4) 1d8fed1d61 (qt/tqtc-qtwebsockets/6.4) 17b96b3158 (qt/tqtc-qtwebsockets/dev) 1d8fed1d61 (qt/qtwebsockets/6.4.1) 1d8fed1d61 (qt/tqtc-qtwebsockets/6.4.1)
    • Foundation Sprint 67

    Description

      Since Qt 6.3 introduced bug: QWebSocket::errorString() displays random http status in the error message if connection was closed with status code other than 400.

      in the following line m_httpStatusCode is not initialized:

      https://code.qt.io/cgit/qt/qtwebsockets.git/tree/src/websockets/qwebsocket_p.cpp#n1061

      Attachments

        For Gerrit Dashboard: QTBUG-106937
        # Subject Branch Project Status CR V

        Activity

          People

            vuokko Juha Vuolle
            dilshodm Dilshod Mukhtarov
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes