EnTerr

Results 8 issues of EnTerr

``` lua struct.pack('l', -2) "\0\0\0\0\0\0\0\0" -- should be "\254\255\255\255\255\255\255\255" ``` I guess [i was wrong](https://github.com/iryont/lua-struct/issues/2#issuecomment-133541030) that leaving this was okay: ``` lua if val < 0 then val = val...

bug

I faced the need to unpack zero-terminated strings where each character is 2 bytes in big-endian (hi-lo) order, even as most all strings are ASCII range. So what i added...

The code i am trying to port and uses `struct` needs this feature of Ierusalimschy's `struct.unpack`: > ... After the read values, this function also returns the index in s...

Minor improvement, so 'c' format can be handled for single characters w/o `n` appended (i.e. 'c', not only 'c1'): ``` lua local n = format:sub(i + 1):match('^%d+') or '' local...

I thought of spinning my observation from here https://github.com/lipp/lua-websockets/issues/94#issuecomment-222781768 into separate issue, here it goes: It seems that receive (not only in sync but otherwise too, see https://github.com/lipp/lua-websockets/search?utf8=%E2%9C%93&q=first_opcode ) concatenates...

A bit surprising, this is _not_ about #14. I don't care about "proper" implementation of ping/pong but am having problems because the ws server (which is beyond my control) sends...

I am using the sync client, receiving about 30 msgs/sec. I don't want to get stuck waiting if there is no data ready, so i am trying this: ``` lua...

feature

I see there are some provisions for Origin header in https://github.com/lipp/lua-websockets/blob/master/src/websocket/handshake.lua#L54 However i could not find a way to supply origin for sync connect()? `client_ev.lua` does it because it has...