You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some browsers (e.g. Safari) send Sec-WebSocket-Extensions: x-webkit-deflate-frame instead of the (now standard) permessage-deflate. The behavior should be identical, otherwise.
As of iOS 15, Safari defaults to using NSURLSession Websocket, which uses the standard permessage-deflate headers, not x-webkit-deflate-frame. This new implementation doesn't work with gorilla/websocket (and likely other backends) as it fails when larger messages are split, but that's another issue...
Activity
ejain commentedon Jul 5, 2021
See comments on websockets/ws#940, but it could be random luck that this works.
ejain commentedon Oct 2, 2021
As of iOS 15, Safari defaults to using NSURLSession Websocket, which uses the standard
permessage-deflateheaders, notx-webkit-deflate-frame. This new implementation doesn't work with gorilla/websocket (and likely other backends) as it fails when larger messages are split, but that's another issue...imankur commentedon Nov 8, 2021
@ejain
This new implementation doesn't work with gorilla/websocket- any idea what can be the fix for this?