Skip to content

lib,test: fix bug in InternalSocketAddress#44618

Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom
tniessen:jasnell-lib-fix-bug-in-internalsocketaddress
Sep 15, 2022
Merged

lib,test: fix bug in InternalSocketAddress#44618
nodejs-github-bot merged 1 commit intonodejs:mainfrom
tniessen:jasnell-lib-fix-bug-in-internalsocketaddress

Conversation

@tniessen
Copy link
Copy Markdown
Member

InternalSocketAddress must set [kDetails] in order for the inherited properties to function correctly.

Cherry-picked from @jasnell's #44325 in order to make the QUIC PR simpler to review (with his permission). This change makes sense even without the QUIC PR.

I added a test case for InternalSocketAddress to test-socketaddress.js, which is not part of the original commit.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. needs-ci PRs that need a full CI run. net Issues and PRs related to the net subsystem. quic Issues and PRs related to the QUIC implementation / HTTP/3.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants