tls: remove NPN (next protocol negotation) support#19403
tls: remove NPN (next protocol negotation) support#19403bnoordhuis merged 2 commits intonodejs:masterfrom
Conversation
doc/api/deprecations.md
Outdated
There was a problem hiding this comment.
A nit: DEP0105 -> DEP00XX?
doc/api/tls.md
Outdated
There was a problem hiding this comment.
A nit: excess space in protocol. When
|
@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. |
tniessen
left a comment
There was a problem hiding this comment.
Mostly LGTM, I personally cannot estimate the impact of ALPN/NPN support, but the linked issue seems to have discussed that already.
doc/api/deprecations.md
Outdated
There was a problem hiding this comment.
Nit: It would be great if you could add a sentence explaining why we decided to remove the API instead of documenting it.
There was a problem hiding this comment.
Agree. NPN is a documented feature making this comment a bit confusing.
No comments on the implementation, but on overall concept, SGTM. |
doc/api/deprecations.md
Outdated
There was a problem hiding this comment.
If the capability is being removed entirely, this should be Nevermind, I see that this specific function is retained for the time being.Type: End-of-Life
lib/tls.js
Outdated
There was a problem hiding this comment.
s/DEP0105/DEP00XX ... the code is to be assigned when the PR is landed.
|
Incorporated feedback. CI: https://ci.nodejs.org/job/node-test-pull-request/13877/ |
|
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>
|
Landed in b3f2391...9204a0d. |
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