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 null payload when aborting connection #503

Merged
merged 1 commit into from
Apr 28, 2017

Conversation

darrachequesne
Copy link
Member

The kind of change this PR does introduce

  • a bug fix
  • a new feature
  • an update to the documentation
  • a code change that improves performance
  • other

Current behaviour

Buffer.byteLength chokes on node v7 (https://github.com/nodejs/node/wiki/Breaking-changes-between-v6-and-v7#buffer) when not provided with a String (which is what happened in socket.io checkRequest).

New behaviour

Other information (e.g. related issues)

Fixes #502

@darrachequesne darrachequesne merged commit e76e035 into socketio:master Apr 28, 2017
@darrachequesne darrachequesne deleted the fix/abort-connection branch April 28, 2017 11:46
darrachequesne added a commit that referenced this pull request Apr 28, 2017
@darrachequesne darrachequesne added this to the 3.1.1 milestone Oct 11, 2017
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.

abortConnection with code == null
1 participant