[erlang-questions] I've started to implement a 6455 compliant erlang websocket client (help/users appreciated)

Jeremy Ong <>
Tue Feb 12 13:00:09 CET 2013


I've updated this library to include ping/pong/close frames now (this is
the last time I spam the listserv about this) so it is fairly usable. I
also fixed a bug with the handshake validation because I didn't read the
crypto documentation carefully.

The example (
https://github.com/jeremyong/websocket_client/blob/master/examples/sample_ws_handler.erl)
should be simple enough for anybody to get started if they're interested.


On Mon, Feb 11, 2013 at 12:15 AM, Loïc Hoguin <> wrote:

> Note that Cowboy rejects unmasked clients now.
>
>
> Max Lapshin <> wrote:
>
> Yes, I skip all these things.
>
> Hope that you will be more diligent than me =)
>
>
> On Mon, Feb 11, 2013 at 12:05 PM, Jeremy Ong <>wrote:
>
>> Thanks Max I'll take a look. Unfortunately, I need ssl so I'll just keep
>> hacking away at the one I just released for now.
>>
>> Additional points (that you may not care about for your purposes, but
>> matter to me):
>>
>> It looks like you aren't doing any challenge verification. There doesn't
>> seem to be any length validation on non-text/binary frames. Also, you
>> aren't doing client to server masking.
>>
>>
>> On Sun, Feb 10, 2013 at 11:41 PM, Max Lapshin <>wrote:
>>
>>> Hi.
>>>
>>> This works for me excelently:
>>>
>>>
>>> https://github.com/erlyvideo/flussonic/blob/master/apps/flussonic/src/websocket_client.erl
>>>
>>> Perhaps it will help you
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130212/07d5a9ef/attachment.html>


More information about the erlang-questions mailing list