ostinelli / misultin

Misultin (pronounced mee-sool-téen) is an Erlang library for building fast lightweight HTTP(S) servers, which also supports websockets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Misultin websockets doesn't work with Firefox 6

majek opened this issue · comments

Firefox 6.0.2 is using ws version 7:

Sec-WebSocket-Version: 7

Misultin doesn't seem to have a support for that. Example:

GET /websocket HTTP/1.1
Host: localhost
Connection: a, Upgrade
Upgrade: websocket
Sec-WebSocket-Key: el8cYBMT/wMIHMCs8v2tjQ==
Sec-WebSocket-Origin: http://localhost/
Sec-WebSocket-Version: 7

Doesn't work (goes to http handler), while version: 8 works fine.

BTW, AFAICT behaviour of version:7 is nearly identical to version:8

Hi,

currently supported are:

draft-hixie-68
draft-hixie-76
draft-hybi-10
draft-hybi-17

I can't see in these a support for the Sec-WebSocket-Version: 7 header: do you happen to know where that is? Websocket is an implemented behaviour in misultin, would you care submit a patch for it?

r.

thank you for this.

misultin has been discontinued, my reasons here.

r.