-
Notifications
You must be signed in to change notification settings - Fork 30k
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
lib: merge onread handlers for http2 streams & net.Socket #22449
Conversation
lib/internal/stream_base_commons.js
Outdated
const { internalBinding } = require('internal/bootstrap/loaders'); | ||
const { WriteWrap } = internalBinding('stream_wrap'); | ||
const { UV_EOF } = process.binding('uv'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be internalBinding()
now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
Refs: nodejs#20993 Co-authored-by: Anna Henningsen <anna@addaleax.net>
c91fe6e
to
737b0fb
Compare
Addressed the review comment CI: https://ci.nodejs.org/job/node-test-pull-request/16803/ |
Landed in 1126dfe |
This is a rebased & modified version of @aks-’s #20993, with tests passing locally
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes