GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: move process.binding('tcp_wrap') to internal by danbev · Pull Request #22432 · nodejs/node

Conversation

@danbev

@danbev danbev commented Aug 21, 2018

Copy link
Copy Markdown
Contributor

This commit makes the tcp_wrap builtin an internal builtin, and
changes usage of the builtin from using process.binding('tcp_wrap')
to use internalBinding instead.

Refs: #22160

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bricss reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@nodejs-github-bot

nodejs-github-bot commented Aug 21, 2018

Copy link
Copy Markdown
Collaborator

@danbev build started: https://ci.nodejs.org/blue/organizations/jenkins/node-test-pull-request-lite-pipeline/detail/node-test-pull-request-lite-pipeline/609/pipeline

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot nodejs-github-bot added the lib / src Issues and PRs involving general changes in the lib/ or src/ directories. label Aug 21, 2018
@danbev

danbev commented Aug 21, 2018

Copy link
Copy Markdown
Contributor Author

CI: https://ci.nodejs.org/job/node-test-pull-request/16629/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jasnell jasnell mentioned this pull request Aug 21, 2018
Tracking Issue: process.binding to internalBinding #22160
Closed
32 of 33 tasks
@danbev danbev added the semver-major PRs that contain breaking changes and should be released in the next major version. label Aug 21, 2018
addaleax
addaleax approved these changes Aug 21, 2018
View reviewed changes
jasnell
jasnell approved these changes Aug 21, 2018
View reviewed changes
BridgeAR
BridgeAR reviewed Aug 21, 2018
View reviewed changes
Comment thread test/parallel/test-http-localaddress.js Outdated

@BridgeAR BridgeAR Aug 21, 2018

Copy link
Copy Markdown
Member

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.

Why is this now needed? The same in the part below.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@danbev danbev Aug 22, 2018

Copy link
Copy Markdown
Contributor Author

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.

The reason for this is that there is a call of the function common.hasMultiLocalhost() below this line which now uses require('internal/test/binding').

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
trivikr
trivikr approved these changes Aug 22, 2018
View reviewed changes
@danbev
src: move process.binding('tcp_wrap') to internal
a2f97bc
This commit makes the tcp_wrap builtin an internal builtin, and
changes usage of the builtin from using process.binding('tcp_wrap')
to use internalBinding instead.

Refs: nodejs#22160
@danbev
danbev force-pushed the tcp_wrap_move_internalBinding branch from 6a28092 to a2f97bc Compare August 24, 2018 05:49
@danbev

danbev commented Aug 24, 2018

Copy link
Copy Markdown
Contributor Author

Rebased CI: https://ci.nodejs.org/job/node-test-pull-request/16716/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@danbev

danbev commented Aug 24, 2018

Copy link
Copy Markdown
Contributor Author

Landed in 57d98bc.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@danbev danbev closed this Aug 24, 2018
@danbev
danbev deleted the tcp_wrap_move_internalBinding branch August 24, 2018 07:26
danbev added a commit that referenced this pull request Aug 24, 2018
@danbev
src: move process.binding('tcp_wrap') to internal
57d98bc
This commit makes the tcp_wrap builtin an internal builtin, and
changes usage of the builtin from using process.binding('tcp_wrap')
to use internalBinding instead.

Refs: #22160

PR-URL: #22432
Refs: #22160
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
This was referenced Aug 5, 2021
[Snyk] Fix for 1 vulnerabilities ron-a20/node#37
Open
[Snyk] Fix for 1 vulnerabilities aliceUnhinged613/node#30
Open
[Snyk] Fix for 1 vulnerabilities meghasfdc/node#40
Open
[Snyk] Fix for 1 vulnerabilities Rednickle/node-1#26
Open
[Snyk] Fix for 1 vulnerabilities kissofire/node#40
Open
[Snyk] Fix for 1 vulnerabilities 137717unity/node#31
Open
[Snyk] Fix for 1 vulnerabilities sitedata/node#30
Open
[Snyk] Fix for 1 vulnerabilities molllyn1/node#15
Open
@snyk-bot snyk-bot mentioned this pull request Aug 15, 2021
[Snyk] Fix for 1 vulnerabilities ron-a20/node#39
Open
@molllyn1 molllyn1 mentioned this pull request Mar 22, 2024
[Snyk] Fix for 2 vulnerabilities molllyn1/node#106
Open
@137717unity 137717unity mentioned this pull request Mar 22, 2024
[Snyk] Fix for 2 vulnerabilities 137717unity/node#122
Open
@kissofire kissofire mentioned this pull request Mar 22, 2024
[Snyk] Fix for 2 vulnerabilities kissofire/node#124
Open
@aliceUnhinged613 aliceUnhinged613 mentioned this pull request Mar 22, 2024
[Snyk] Fix for 2 vulnerabilities aliceUnhinged613/node#123
Open
@ron-a20 ron-a20 mentioned this pull request Mar 22, 2024
[Snyk] Fix for 2 vulnerabilities ron-a20/node#121
Open
@wedataintelligence wedataintelligence mentioned this pull request Mar 23, 2024
[Snyk] Fix for 2 vulnerabilities wedataintelligence/node#105
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@BridgeAR BridgeAR BridgeAR left review comments
@jasnell jasnell jasnell approved these changes
@addaleax addaleax addaleax approved these changes
@trivikr trivikr trivikr approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

lib / src Issues and PRs involving general changes in the lib/ or src/ directories. semver-major PRs that contain breaking changes and should be released in the next major version.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@danbev @nodejs-github-bot @jasnell @addaleax @BridgeAR @trivikr
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.