You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added handshakeType to allow increase wait for ws/wss handshake.
For long latency clients then may not be able to deliver the websocket
handshake before we fall back to regular the RFB protocol.
So to not introduce a multisecond delay for all conenction a handshakeType
setting is introduced to tell which type of handshake we expect.
The problem is that a RFB client will be quiet "forever" until the server
sends it's signature. On the other hand a websocket client will send it's
HTTP websocket handshake immediately.
Before the server for sure know the the type of client the connect procedure
cannot continue. There is no other option than to wait for some amount of time
when the client type is auto detected.
0 commit comments