Closed moteus closed 9 years ago
I dont think this is neccassary:
Maybe i dont fully understand this, but this a hotspot and every function call at this point has its cost.
I also thik the same but on travis I get lua: /usr/local/share/lua/5.1/websocket/frame.lua:45: bad argument #2 to 'schar' (invalid value)
(https://travis-ci.org/moteus/lua-lluv-websocket/builds/53169714)
And with this patch all works (https://travis-ci.org/moteus/lua-lluv-websocket/builds/53181730)
I really did not know why. For now I have only Win XP/2k3
I think i found problem. You unpack mask as signed value and bxor(-XX, v)
propogate signed bits.
Now all tests passed
:8ball: NICE!
See #61