-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
Revert "stream: add bytesRead property for readable" #4746
Conversation
This reverts commit bfb2cd0. Refs: nodejs#4372
cc @jasnell also, who landed it. |
LGTM but the body of the commit log should explain why it got reverted. Something like: "The property tracks characters instead of bytes when using an identity encoding." |
LGTM |
+10 to adding reason(s) when reverting commits. |
I'l update the commit log before I land it. |
Revert landed in eee9dc7. |
added |
@rvagg that sounds correct. |
This reverts commit bfb2cd0. The bytesRead property, as implemented, tracks characters instead of bytes when using an identity encoding. Refs: nodejs#4372 PR-URL: nodejs#4746 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
This reverts commit bfb2cd0.
Refs: #4372
R= @bnoordhuis