EnTerr
EnTerr
After some debugging seems that `sync.lua`'s `receive()`'s `clean()` is way too aggressive (why oh why?) in closing the connection on any kind of error. I added an `if` and it...
Ok, so here is a more complete fix i came up with, most code is round about https://github.com/lipp/lua-websockets/blob/master/src/websocket/sync.lua#L24 ``` --- if self._saved then local _ = self._saved first_opcode = _.first_opcode...
Oops, afraid i can't. I don't have the code under git - besides i am working on almost a year old lua-websockets version, under svn. I did skim the /master/src/websocket/sync.lua...
Yes - i just checked and the opcode returned in that case is 9 - although i don't care nor check for that, i just treat it as "empty frame"...
"Control frames can be interjected in the middle of a fragmented message." does not imply ping/pong can carry a load, just that they can be interspersed in normal traffic. It...
@moteus - sure, what you say does not contradict what i said. A sender is free to send PING/PONG without limitations. Receiver always sees the PONGs but not the PINGs....