-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0
-
None
-
503a1353dcf23f8a5fcb8a2c79d55f707e75cf33
When connect to an wss socked, QWebSocket requestUrl().toString() returns always ws. But in this case it must be wss.
Sample:
from http://doc.qt.io/qt-5/qtwebsockets-sslechoserver-sslechoserver-cpp.html
change
qDebug() << "Client connected:" << pSocket->peerName() << pSocket->origin();
to
qDebug() << "Client connected:" << pSocket->peerName() << pSocket->origin();
qDebug()<< pSocket->requestUrl().toString();
The result will be:
"ws://localhost:1234/"
instant of
"wss://localhost:1234/"
For Gerrit Dashboard: QTBUG-55927 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
179408,10 | Fixed wrong scheme for secure websocket | 5.8 | qt/qtwebsockets | Status: MERGED | +2 | 0 |