-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.5.0 Alpha
-
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.