Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.3.0 RC
-
None
-
-
631fb7665f (qt/qtwebsockets/dev) 8d8dd1e666 (qt/qtwebsockets/6.3) 7d7c7974ce (qt/qtwebsockets/6.3.0) 8d8dd1e666 (qt/tqtc-qtwebsockets/6.3) 7d7c7974ce (qt/tqtc-qtwebsockets/6.3.0) 8d8dd1e666 (qt/qtwebsockets/6.3.1) 8d8dd1e666 (qt/tqtc-qtwebsockets/6.3.1)
Description
By adding a custom http header to a wss connection the code stalls after the SSL handshake with high CPU occupancy.
In version Qt 6.2 and earlier the problem does not occur.
//Working m_webSocket.open(QUrl(QStringLiteral("wss://localhost:1234"))); ---------------------------------------- //Not working QNetworkRequest request(QUrl(QStringLiteral("wss://localhost:1234"))); request.setRawHeader("CustomHeader", "Example"); m_webSocket.open(request);
Attachments
For Gerrit Dashboard: QTBUG-102111 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
403177,9 | Fix handshake looping infinitely making no progress | dev | qt/qtwebsockets | Status: MERGED | +2 | 0 |
403909,3 | Fix handshake looping infinitely making no progress | 6.3 | qt/qtwebsockets | Status: MERGED | +2 | 0 |
403910,3 | Fix handshake looping infinitely making no progress | 6.3.0 | qt/qtwebsockets | Status: MERGED | +2 | 0 |