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

BUGFIX: Websocket frame corruption on big-endian #150 #161

Merged
merged 1 commit into from
Apr 7, 2015

Conversation

rafaelfolco
Copy link
Contributor

This patch fixes noVNC endianess problem on handshake.
It affects noVNC sessions on Big Endian platforms.

Fixes #150

@DirectXMan12
Copy link
Member

LGTM 👍
@kanaka, @samhed , @astrand : any concerns?

@samhed
Copy link
Member

samhed commented Mar 27, 2015

No, but those trailing whitespaces annoy me! 😄

@DirectXMan12
Copy link
Member

@rafaelfolco : can you fix the whitespace, please? Otherwise, this looks great.

@kanaka
Copy link
Member

kanaka commented Apr 1, 2015

Looks okay to me apart from whitespace. This is in the main data path and I'm always concerned about adding even small amounts of latency there, but one extra check for the big endian case shouldn't have any effect.

@rafaelfolco
Copy link
Contributor Author

commit d56a2e5 addresses the whitespace. Please let me know if any other concerns. Thanks.

@samhed
Copy link
Member

samhed commented Apr 7, 2015

Could you just squash the two commits together? Just so we can keep our history cleaner. You can use git push --force after making the changes so you don't have to do a new PR.

This patch fixes noVNC endianess problem on handshake.
It affects noVNC sessions on Big Endian platforms.

Fixes novnc#150
@rafaelfolco rafaelfolco force-pushed the bug/150-websocket-bigendian branch from d56a2e5 to af10f45 Compare April 7, 2015 12:38
DirectXMan12 added a commit that referenced this pull request Apr 7, 2015
BUGFIX:  Websocket frame corruption on big-endian #150
@DirectXMan12 DirectXMan12 merged commit ac9d357 into novnc:master Apr 7, 2015
@DirectXMan12 DirectXMan12 added bug Something isn't working python labels Apr 28, 2015
@DirectXMan12 DirectXMan12 added this to the v0.7.0 milestone Apr 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Websocket frame corruption on big-endian
4 participants