diff --git a/xpra/net/websockets/common.py b/xpra/net/websockets/common.py index f808fb5dc7..6d21017ed2 100644 --- a/xpra/net/websockets/common.py +++ b/xpra/net/websockets/common.py @@ -65,7 +65,9 @@ def client_upgrade(read, write, host, port, path=""): http_request = http_request[w:] now = monotonic() response = b"" - while ("sec-websocket-protocol" not in u(response).lower()) and monotonic()-now