WebSocket-for-Python icon indicating copy to clipboard operation
WebSocket-for-Python copied to clipboard

Fix messages are one-behind when using secure sockets (wss)

Open mpf82 opened this issue 7 months ago • 6 comments

This fix tries to query the sockets directly for pending data if poller.poll() returns no file descriptors.

In case of pending data, a special flag is set on the websocket, to ensure the whole buffer is processed in one go.

Fixes https://github.com/Lawouach/WebSocket-for-Python/issues/270

mpf82 avatar May 07 '25 09:05 mpf82