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

Hybi-16 #1

Merged
merged 1 commit into from
Oct 19, 2011
Merged

Hybi-16 #1

merged 1 commit into from
Oct 19, 2011

Conversation

chadselph
Copy link

Chrome 16 just released with the protocol version 16. The protocol changes don't really affect the rest of the code we never check Sec-WebSocket-Origin in the hybi-8 flow (as far as I could tell).

It /may/ affect some client code that manually checks the header "Sec-WebSocket-Origin", so maybe it could be interesting to provide a @Property or something that fetches the right Origin header based on the handshake version.

The protocol changes don't really affect the rest of the code we never
check Sec-WebSocket-Version in the hybi-8 flow.
wulczer added a commit that referenced this pull request Oct 19, 2011
Support protocol version 13 (not any different from 8, as far as we're concerned).
@wulczer wulczer merged commit 1e8017a into wulczer:master Oct 19, 2011
@wulczer
Copy link
Owner

wulczer commented Oct 19, 2011

I skimmed through thte diff between protocol version 8 and 13 and it seems that indeed it doesn't affest txWebSocket's code.

As for the Sec-WebSocket-Origin header, I guess a helper method could be useful, but for now I'd let handling it to the users of the library (ie. not bother adding any helpers).

Thanks for the patch!

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.

2 participants