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

Fix an issue when broadcasting binary data between nodes. #122

Merged
merged 1 commit into from
Sep 24, 2016

Conversation

darrachequesne
Copy link
Member

It seems Adapter.prototype.broadcast.call(this, packet, opts); actually modifies the packet object, by removing any binary data attached.

Reference: https://github.com/socketio/socket.io-parser/blob/master/index.js#L196

Fix #112, close #113

@IsaiahJTurner
Copy link

I have tested this and can confirm it is working. If socket.io-redis is still maintained, please merge!

@darrachequesne darrachequesne merged commit 3da4f41 into socketio:master Sep 24, 2016
@darrachequesne darrachequesne deleted the patch-1 branch September 24, 2016 12:29
@darrachequesne darrachequesne added this to the 1.1.0 milestone Nov 28, 2016
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.

Binary Not Working
2 participants