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
It says that receive have failed because frame was NOT masked - but it actually checks something else, it checks that this receive() was in a client (not a server) and WAS masked?!
The text was updated successfully, but these errors were encountered:
Oh okay. So there is a mandate for the server side too (to not mask), did not know that. But the message was wrong, hence the confusion.
In my case i ran into this as side effect of #94, where client was reading 1 byte too many and consequent frames start getting decoded wrong and eventually will assert-fail at this
I am confused about this bit of code
in https://github.com/lipp/lua-websockets/blob/master/src/websocket/sync.lua#L31
It says that receive have failed because frame was NOT masked - but it actually checks something else, it checks that this receive() was in a client (not a server) and WAS masked?!
The text was updated successfully, but these errors were encountered: