FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

net: fix family autoselection SSL connection handling by ShogunPanda · Pull Request #48189 · nodejs/node · GitHub

/ node Public

net: fix family autoselection SSL connection handling - #48189

Closed
ShogunPanda wants to merge 2 commits into
nodejs:mainfrom
ShogunPanda:fix-family-autoselection-ssl-connect
Closed

net: fix family autoselection SSL connection handling#48189
ShogunPanda wants to merge 2 commits into
nodejs:mainfrom
ShogunPanda:fix-family-autoselection-ssl-connect

Conversation

Copy link
Copy Markdown
Contributor

This PR fixes SSL connection attempts by not attempting to restore SSL information (like server name) if such informations are not available anymore.

Fixes #48000.

nodejs-github-bot added needs-ci PRs that need a full CI run. tls Issues and PRs related to the tls subsystem. labels May 26, 2023
ShogunPanda added the request-ci Add this label to start a Jenkins CI on a PR. label May 26, 2023
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 26, 2023

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Shouldn't this test go in test/internet/ if it's attempting to reach an internet host?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Yes, I didn't know about it. Fixed now.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

If this is reaching out to the internet this should go in internet and not parallel. It should also be using a constant from common/internet to allow people to run the test suites in places that restrict access to some addresses.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks, I didn't know about this. This is fixed now.

ShogunPanda added the request-ci Add this label to start a Jenkins CI on a PR. label May 28, 2023
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 28, 2023

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

ShogunPanda force-pushed the fix-family-autoselection-ssl-connect branch from 7425b2d to 5150216 Compare May 29, 2023 11:01
ShogunPanda added the request-ci Add this label to start a Jenkins CI on a PR. label May 29, 2023
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label May 29, 2023

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Contributor Author

@nodejs/build I have a failure in GH suite but I don't think it's related to my changes. Can I ignore or do you first want to address it?

Copy link
Copy Markdown
Contributor Author

Landed in 26450c5

ShogunPanda added a commit that referenced this pull request May 31, 2023
PR-URL: #48189
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>

targos commented May 31, 2023

Copy link
Copy Markdown
Member

The test-internet failure was confirmed to be unrelated and we opened #48262 for it.

ShogunPanda deleted the fix-family-autoselection-ssl-connect branch June 1, 2023 20:50
targos pushed a commit that referenced this pull request Jun 4, 2023
PR-URL: #48189
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
targos mentioned this pull request Jun 4, 2023
Ceres6 pushed a commit to Ceres6/node that referenced this pull request Aug 14, 2023
PR-URL: nodejs#48189
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Ceres6 pushed a commit to Ceres6/node that referenced this pull request Aug 14, 2023
PR-URL: nodejs#48189
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
mhdawson pushed a commit to mhdawson/io.js that referenced this pull request Aug 15, 2023
PR-URL: nodejs#48189
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
ruyadorno pushed a commit that referenced this pull request Aug 17, 2023
PR-URL: #48189
Backport-PR-URL: #49183
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
ruyadorno mentioned this pull request Aug 17, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. tls Issues and PRs related to the tls subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Assertion (wrap->ssl_) != nullptr failed in TLSWrap::GetServername

10 participants


Back | FazBrowse Home | New Git URL