Closed
Bug 1288044
Opened 8 years ago
Closed 7 years ago
Disable NPN support
Categories
(NSS :: Libraries, defect, P3)
NSS
Libraries
Tracking
(Not tracked)
RESOLVED
FIXED
3.28
People
(Reporter: franziskus, Unassigned)
References
Details
Attachments
(1 file)
1.38 KB,
patch
|
franziskus
:
review+
|
Details | Diff | Splinter Review |
NPN and ALPN usage is currently broken when external callbacks are used (see bug 1284412). Fixing this might either break NPN or API stability (it might work though, see patch at [1]).
There's already work being done to remove NPN support in Firefox (bug 1248198). Chrome stopped supporting NPN a couple of months ago.
From discussion on nss-dev we concluded the following
1. We believe NPN is only used in SPDY and HTTP/2, and a system that supports NPN but not ALPN probably only supports SPDY.
2. If NPN is turned off, such systems will still function because they will just use HTTP/1.1.
3. NPN is difficult to support without breaking something
4. NPN is not an IETF RFC
5. NSS never implemented server support for NPN.
6. NPN support is already broken for external callbacks.
7. According to the chrome team there was no significant drop in h2 rates after disabling npn.
[1] https://codereview.appspot.com/303000043
Comment 1•8 years ago
|
||
Attachment #8791326 -
Flags: review?(kaie)
Reporter | ||
Updated•8 years ago
|
Attachment #8791326 -
Flags: review?(kaie) → review+
Reporter | ||
Comment 2•8 years ago
|
||
prevent NPN from being enabled
https://hg.mozilla.org/projects/nss/rev/24581a36b2bb
Comment 3•7 years ago
|
||
This landed about a year ago, still too early to drop it?
Flags: needinfo?(martin.thomson)
Flags: needinfo?(kaie)
Priority: -- → P3
Comment 4•7 years ago
|
||
Thanks for the reminder. I'm optimistic, but have asked a few people for feedback. Please let's wait another week to see if anyone presents good arguments for waiting longer.
Comment 5•7 years ago
|
||
We couldn't find any argument to keep the code.
Thanks for asking, and please feel free to go ahead with the removal.
Flags: needinfo?(kaie)
Comment 6•7 years ago
|
||
I'm going to close this as resolved (3.28, yay) and make a new bug for the code removal. Thanks for checking Kai.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(martin.thomson)
Resolution: --- → FIXED
Summary: Remove NPN support → Disable NPN support
Target Milestone: --- → 3.28
You need to log in
before you can comment on or make changes to this bug.
Description
•