lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Jun 21, 2013, at 5:20 PM, Jorge <xxopxe@gmail.com> wrote:

> Hi,
> 
> I was using your code, and i'm very thankfull for it :) This is the oppportunity to make some comments:
> 
> I took you code and used it in my scheduler's http module (https://github.com/xopxe/Lumen/tree/master/tasks/http-server). In only needed the server half, and I had to adapt it to coexist with my scheduler.
> I also made other changes, some of which can be of interest to you:
> 
> * There was some redundant header decoding going on, factored it out
> * Added support to the bit library found in nixio/bitlib (in a very ugly way)
> * Replaced the sha1 and base64 with better implementations (i believe)
> * Replaced some usage of lpack with native code. Plan to remove lpack dependency completely (i'm more interested in hassle-free deployment than performance)
> 
> Sadly, the shuffling around I made to fit it in my scheduler made it very messy to track changes back... When started I tougth it would be easier, but this websocket stuff is more involved than I believed :\
> 
Maybe you/we cold split up improvements to small push requests?
Thanks for your help and interest.

> Jorge
> 
> 
> On 06/21/2013 03:42 AM, Gerhard Preuss wrote:
>> Hi!
>> 
>> I'd like to share lua-websockets (https://github.com/lipp/lua-websockets).
>> It's a pure Lua Websocket v13 client & server implementation with
>> support for copas and / or lua-ev.
>> 
>> Hope it is useful for somebody. Feedback is very welcome!
>> 
>> Regards,
>> Gerhard
>> 
> 
>