Skip to content

Conversation

@bnoordhuis
Copy link
Member

NPN has been superseded by ALPN. Chrome and Firefox removed support for
NPN in 2016 and 2017 respectively to no ill effect.

Fixes: #14602

cc @nodejs/crypto

@nodejs-github-bot nodejs-github-bot added the lib / src Issues and PRs related to general changes in the lib or src directory. label Mar 17, 2018
Copy link
Contributor

Choose a reason for hiding this comment

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

A nit: DEP0105 -> DEP00XX?

doc/api/tls.md Outdated
Copy link
Contributor

@vsemozhetbyt vsemozhetbyt Mar 17, 2018

Choose a reason for hiding this comment

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

A nit: excess space in protocol. When

@vsemozhetbyt vsemozhetbyt added tls Issues and PRs related to the tls subsystem. crypto Issues and PRs related to the crypto subsystem. https Issues or PRs related to the https subsystem. labels Mar 17, 2018
@mscdex mscdex added the semver-major PRs that contain breaking changes and should be released in the next major version. label Mar 17, 2018
@bnoordhuis
Copy link
Member Author

@nodejs/crypto Can I get a review, please?

@nodejs/tsc You should probably also weigh in, if not on the exact implementation than at least on the overall direction. See discussion in #14602 for rationale on expediting this.

Copy link
Member

@tniessen tniessen left a comment

Choose a reason for hiding this comment

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

Mostly LGTM, I personally cannot estimate the impact of ALPN/NPN support, but the linked issue seems to have discussed that already.

Copy link
Member

Choose a reason for hiding this comment

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

Nit: It would be great if you could add a sentence explaining why we decided to remove the API instead of documenting it.

Copy link
Member

Choose a reason for hiding this comment

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

Agree. NPN is a documented feature making this comment a bit confusing.

@Trott
Copy link
Member

Trott commented Mar 19, 2018

@nodejs/tsc You should probably also weigh in, if not on the exact implementation than at least on the overall direction.

No comments on the implementation, but on overall concept, SGTM.

Copy link
Member

@jasnell jasnell Mar 19, 2018

Choose a reason for hiding this comment

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

If the capability is being removed entirely, this should be Type: End-of-Life Nevermind, I see that this specific function is retained for the time being.

lib/tls.js Outdated
Copy link
Member

Choose a reason for hiding this comment

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

s/DEP0105/DEP00XX ... the code is to be assigned when the PR is landed.

@bnoordhuis
Copy link
Member Author

Incorporated feedback. CI: https://ci.nodejs.org/job/node-test-pull-request/13877/

@bnoordhuis
Copy link
Member Author

With mkssldef tweak: https://ci.nodejs.org/job/node-test-pull-request/13884/

NPN has been superseded by ALPN.  Chrome and Firefox removed support for
NPN in 2016 and 2017 respectively to no ill effect.

Fixes: nodejs#14602
PR-URL: nodejs#19403
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Fixes: nodejs#14602
PR-URL: nodejs#19403
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
@bnoordhuis bnoordhuis closed this Mar 27, 2018
@bnoordhuis bnoordhuis deleted the fix14602 branch March 27, 2018 14:23
@bnoordhuis bnoordhuis merged commit 9204a0d into nodejs:master Mar 27, 2018
@bnoordhuis
Copy link
Member Author

Landed in b3f2391...9204a0d.

@ChALkeR ChALkeR mentioned this pull request Apr 13, 2018
4 tasks
tniessen added a commit that referenced this pull request Apr 24, 2018
PR-URL: #20257
Refs: #19403
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
MylesBorins pushed a commit that referenced this pull request May 4, 2018
PR-URL: #20257
Refs: #19403
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

crypto Issues and PRs related to the crypto subsystem. https Issues or PRs related to the https subsystem. lib / src Issues and PRs related to general changes in the lib or src directory. semver-major PRs that contain breaking changes and should be released in the next major version. tls Issues and PRs related to the tls subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants