Skip to content
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

tls: use the most recently added matching SecureContext in default SN… #36072

Merged
merged 1 commit into from
Jan 15, 2021

Conversation

mkrawczuk
Copy link
Contributor

@mkrawczuk mkrawczuk commented Nov 10, 2020

Sorry, ruined the previous PR (#34638) with a merge.

Fixes: #34110

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the tls Issues and PRs related to the tls subsystem. label Nov 10, 2020
// connections.
// Connection to subdomain 'a' is made when the 'bad' secure context is
// the only one in use.
if ('a.example.com' === c.servername) {
Copy link
Contributor

Choose a reason for hiding this comment

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

minor nit: we could be more strict here and assert that these are equal depending on the current step, same for the other conditional below

doc/api/tls.md Outdated Show resolved Hide resolved
@Trott
Copy link
Member

Trott commented Nov 12, 2020

@nodejs/crypto @addaleax

@Trott Trott requested a review from addaleax November 16, 2020 14:41
@mkrawczuk
Copy link
Contributor Author

Rebased. cc @addaleax

@Trott Trott added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 23, 2020
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 23, 2020
@nodejs-github-bot
Copy link
Collaborator

@mkrawczuk
Copy link
Contributor Author

Did a clear rebase, because the previous one failed. @Trott you might want to request another CI.

@nodejs-github-bot
Copy link
Collaborator

PR-URL: nodejs#36072
Fixes: nodejs#34110
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@Trott
Copy link
Member

Trott commented Jan 15, 2021

Landed in 8cf5281

@Trott Trott merged commit 8cf5281 into nodejs:master Jan 15, 2021
ruyadorno pushed a commit that referenced this pull request Jan 22, 2021
PR-URL: #36072
Fixes: #34110
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@ruyadorno ruyadorno mentioned this pull request Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tls Issues and PRs related to the tls subsystem.
Projects
None yet
6 participants