[E-devel] [RFC] Efl.Net.Dialer.Websocket

2016-08-29 Thread Gustavo Sverzut Barbieri
Hi all, I'm taking over the work started at https://phab.enlightenment.org/D2985, please take a look at my last comment https://phab.enlightenment.org/D2985#71145 for more details. The branch is https://git.enlightenment.org/core/efl.git/log/?h=devs/barbieri/websocket there you can see two examp

Re: [E-devel] [RFC] Efl.Net.Dialer.Websocket

2016-08-30 Thread Raoul Hecky
Hi Gustavo, As I implemented websocket (server+client) in calaos on top of ecore_con, I know some things about websocket ;) One thing that I heavily used to validate my implementation was to use the Autobahn Websocket Testsuite project. It runs hundreds of test on your client or server implementa

Re: [E-devel] [RFC] Efl.Net.Dialer.Websocket

2016-08-30 Thread Gustavo Sverzut Barbieri
Hi Raoul! Em terça-feira, 30 de agosto de 2016, Raoul Hecky escreveu: > Hi Gustavo, > > As I implemented websocket (server+client) in calaos on top of ecore_con, I > know some things about websocket ;) Nice! Would you also try to do some tests or rewrite some part of your existing code to use

Re: [E-devel] [RFC] Efl.Net.Dialer.Websocket

2016-08-30 Thread Raoul Hecky
> > Nice! Would you also try to do some tests or rewrite some part of your > existing code to use my proposed API? > Not really. The code is written in C++ in calaos and all is working smoothly, so rewriting is not something we want to do right now... And your implementation is only for client, not

Re: [E-devel] [RFC] Efl.Net.Dialer.Websocket

2016-08-30 Thread Gustavo Sverzut Barbieri
On Tue, Aug 30, 2016 at 10:00 AM, Raoul Hecky wrote: >> >> Nice! Would you also try to do some tests or rewrite some part of your >> existing code to use my proposed API? >> > Not really. The code is written in C++ in calaos and all is working > smoothly, so rewriting > is not something we want to

Re: [E-devel] [RFC] Efl.Net.Dialer.Websocket

2016-08-31 Thread Raoul Hecky
> > I see... well, the WebSocket's primitives aren't that many, I suppose > you're code is mostly focused on text of binary messages, so it's one > method and one event. Some #ifdef would do? > > Naa it's not that easy ;) > I know the feeling of "not willing to touch something that it's > workin

Re: [E-devel] [RFC] Efl.Net.Dialer.Websocket

2016-09-01 Thread Gustavo Sverzut Barbieri
Hi all, Since nobody called for changes in the API, it was merged in GIT after extensive testing using the awesome http://autobahn.ws/testsuite pointed by Raoul. Note that to test you need CURL from GIT (7.50.2-DEV) as they committed a fix to their handling of unknown 101 (Switch Protocols). Whil