INADA Naoki added the comment: I can't reproduce it because of some reason.
1. While you report it affects Python 3.3~3.7, the script doesn't work on Python 3.7 2. I've fixed webserver.py to work on Python 3, but it uses very old (draft) websocket protocol. Current browser doesn't send headers like "Sec-WebSocket-Key1". 3. Even if handshake succeed, you can't send `\xff`*10 directly. You should wrap it with "frame", specified in RFC. I can't understand what "Close/Crash" means. But I propose you to use websocket libraries, or read protocol specification carefully. WebSocket is not "raw TCP socket after handshake", it's framed protocol on top of TCP (or other stream protocol). ---------- nosy: +inada.naoki resolution: -> not a bug status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29385> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com