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
how hard would it be to have gorilla/websocket detect this scenario and workaround it? Like maybe we could check for Sec-WebSocket-Extensions: permessage-deflate and User-Agent: Safari? would be happy to try to put together a PR if no one is opposed to browser-specific workarounds.
ghost changed the title [-][bug] Gorilla WebSocket does not support iOS 15[/-][+]Safari websocket compression is broken[/+]on Jan 19, 2022
Activity
mohamedmansour commentedon Oct 21, 2021
@mamjsn is there a way to test it?
mohamedmansour commentedon Oct 27, 2021
@mamjsn how did you figure this out! thank you for taking your time and looking at the source code of my app!
I verified that removing compression works on iOS 15.
mohamedmansour/ethereum-burn-stats@d282823
I tried re-enabling compression, but it doesn't work, so disabling it instead. Unless I am doing it wrong.
mohamedmansour/ethereum-burn-stats@ceb5e2e
Thank you!
nicks commentedon Oct 27, 2021
we're hitting this too in MacOS Monterey 😭 tilt-dev/tilt#4746
thanks @mamjsn for the workarounds above.
how hard would it be to have gorilla/websocket detect this scenario and workaround it? Like maybe we could check for
Sec-WebSocket-Extensions: permessage-deflateandUser-Agent: Safari? would be happy to try to put together a PR if no one is opposed to browser-specific workarounds.[-][bug] Gorilla WebSocket does not support iOS 15[/-][+]Safari websocket compression is broken[/+]fix: New Safari does not handle compressed websockets.
fix: New Safari does not handle compressed websockets. (#55)