tls: remove NPN (next protocol negotation) support#19403
tls: remove NPN (next protocol negotation) support#19403bnoordhuis merged 2 commits intonodejs:masterfrom
Conversation
There was a problem hiding this comment.
A nit: DEP0105 -> DEP00XX?
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.
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. |
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
There was a problem hiding this comment.
s/DEP0105/DEP00XX ... the code is to be assigned when the PR is landed.
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 <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
Fixes: nodejs#14602 PR-URL: nodejs#19403 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
|
Landed in b3f2391...9204a0d. |
PR-URL: #20257 Refs: #19403 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
PR-URL: #20257 Refs: #19403 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
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