Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cowboy 0.10.0 support and small fix #61

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pkozlov
Copy link

@pkozlov pkozlov commented Jul 9, 2014

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:

  • WebsocketHixie76.test_broken_json()
  • WebsocketHixie76.test_close()
  • WebsocketHixie76.test_empty_frame()
  • WebsocketHixie76.test_reuseSessionId()
  • WebsocketHixie76.test_transport()
  • WebsocketHixie76.test_haproxy()

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.

Error in JsessionidCookie.test_xhr sockjs-protocol test
Name of cookie for cowboy_req must be upper-cased
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant