Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.5
-
None
Description
A customer reported that when they try to connect to a httpserver with a websocket, they can get the connection on server side OK but the server pretty much instantly closes the socket.
Steps to reproduce the issue:
- Run server
- Run client
=> Observe the client output
When building server with Qt 6.8.3 and adding:
s.addWebSocketUpgradeVerifier(&s, [](const QHttpServerRequest &request) { return QHttpServerWebSocketUpgradeResponse::accept(); });
the sample will work. The connection will no longer be closed and and the message from the server can now be received.