Skip to content

(Re)implementet flash and draft76 support #41

Merged
TooTallNate merged 5 commits intoTooTallNate:masterfrom
Davidiusdadi:master
Nov 23, 2011
Merged

(Re)implementet flash and draft76 support #41
TooTallNate merged 5 commits intoTooTallNate:masterfrom
Davidiusdadi:master

Conversation

@Davidiusdadi
Copy link
Copy Markdown
Collaborator

The commit messages should explain the changes and additions.

I tested the flash edge case on IE and Opera.
I tested draft76 on Opera and via the chat example.
draft75 is a subset of draft76 and might work but i did not tested it since i have no draft75 running browser...

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could probably be cached for speed (as a private static final I suppose).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would be better.
This code will be excecuted once per handshake.
I will change that with my next commit, if you dont do it during merging.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Go ahead and fix, I'll wait.

@TooTallNate
Copy link
Copy Markdown
Owner

Thanks for this! Couple fixes: Not a huge deal, but it would be nice if the Drafts in the dropdown list on the ChatClient were in reverse order, such that Draft 10 is the default one selected. Also, attempting to connect to the test ChatServer using the CharClient and Draft 75 disconnects immediately. Might not be too important since there's no browsers using that draft anymore, but maybe you could look quickly before I merge. Thanks again!

@Davidiusdadi
Copy link
Copy Markdown
Collaborator Author

-added much stronger validation to ALL drafts
-made all drafts working as client and server
-generalized handshake
-minor requested changes

Tested all clients with ws://echo.websocket.org and local with the chat example.
i could not test draft75 and draft76 servers with foreign client implementations.

@TooTallNate the requested fixes/changes are included

-made all drafts working as client and server
-generalized handshake
-minor requested changes
TooTallNate added a commit that referenced this pull request Nov 23, 2011
(Re)implementet flash and draft76 support
@TooTallNate TooTallNate merged commit 41b5701 into TooTallNate:master Nov 23, 2011
@TooTallNate
Copy link
Copy Markdown
Owner

@Davidiusdadi Thanks! Merged!

maakolk pushed a commit to maakolk/Java-WebSocket that referenced this pull request Mar 5, 2017
(Re)implementet flash and draft76 support
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