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

Backport of 6284 to v4.x #6903

Closed
wants to merge 2 commits into from
Closed

Conversation

indutny
Copy link
Member

@indutny indutny commented May 20, 2016

Checklist
  • tests and code linting passes
  • a test and/or benchmark is included
  • documentation is changed or added
  • the commit message follows commit guidelines
Affected core subsystem(s)

net, stream_base

Description of change

Backport of #6284

This will provide `bytesRead` data on consumed sockets.

Fix: nodejs#3021
PR-URL: nodejs#6284
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
`Object.prototype.__defineGetter__` is deprecated now, use
`Object.defineProperty` instead.

PR-URL: nodejs#6284
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. net Issues and PRs related to the net subsystem. labels May 20, 2016
@indutny
Copy link
Member Author

indutny commented May 20, 2016

cc @thealphanerd

@mscdex mscdex added v4.x and removed c++ Issues and PRs that require attention from people who are familiar with C++. labels May 20, 2016
@MylesBorins
Copy link
Contributor

landed in 4ca90de...ab2bfe0

@indutny I had to slightly modify the test to not use Buffer.allocate

@MylesBorins MylesBorins closed this Jun 1, 2016
@indutny indutny deleted the feature/backport-gh-6284 branch June 1, 2016 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
net Issues and PRs related to the net subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants