Mauro Antonino
Mauro Antonino
I noticed that it is receiving empty bytes as a data response, and this causes the socket to close. https://github.com/python-websockets/websockets/blob/e217458ef8b692e45ca6f66c5aeb7fad0aee97ee/src/websockets/sync/connection.py#L549-L550 https://github.com/python-websockets/websockets/blob/e217458ef8b692e45ca6f66c5aeb7fad0aee97ee/src/websockets/sync/connection.py#L614-L616 Another thing is that when the status code is...
I think I figured it out now. The code is handling all connections as WebSocket connections. When it is an HTTP connection and a request is made, it is supposed...
Yes, you are right. It must check if the header has the websocket string explicitly. I made a commit to fix right now.