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

QWebSocketPrivate does not initialize a field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.5.0 Beta
    • 5.5.0 Alpha
    • WebSockets
    • None
    • 30b5e99da347aea446a5a3a334a21a4406adc4fe

      QWebSocketPrivate::QWebSocketPrivate(const QString &origin, QWebSocketProtocol::Version version, QWebSocket *pWebSocket) does not initialize the m_handshakeState field.

      This causes the first call to QWebSocket::processHandshake to skip the state switch, and in the final method check to emit the error signal while resetting m_handshakeState to AllDoneState. From there on, things work.

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

            lultimouomo Luca Niccoli
            lultimouomo Luca Niccoli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes