- Notifications
You must be signed in to change notification settings - Fork329
Closed
Description
When Safari 13.1 for MacOS receives a compressed text message, it printsWebSocket connection to 'ws://localhost:8080/ws' failed: Could not decode a text frame as UTF-8
on the Javascript console and closes the WebSocket connection.
This is probably a bug in Safari. But this issue might help others to disable compression as a workaround. They have to passAcceptOptions
toAccept()
:
websocket.AcceptOptions{CompressionMode:websocket.CompressionDisabled,}