sockjs / sockjs-erlang

WebSocket emulation - Erlang server
http://sockjs.org
Other
266 stars 120 forks source link

Cowboy 0.10.0 support and small fix #61

Open pkozlov opened 10 years ago

pkozlov commented 10 years ago

Commits for cowboy 0.10.0 support. And fix for JsessionidCookie.test_xhr sockjs-protocol test. (passed now)

After changes sockjs-protocol tests shows (failures=1, errors=5) all errors and failures in WebsocketHixie76 protocol test:

All this errors happens because after returning {upgrade, protocol, cowboy_websocket} in cowboy_handler, Cowboy server answers with error 400. I have no idea why it happens.

But on client side everything works. All sockjs-client tests in Chrome, Safari and Firefox 100% passed.