Closed
Description
What is the problem this feature will solve?
Currently, the http2 server always sets the ALPNProtocols field on the TLSServer options, which makes it incompatible with the ALPNCallback option.
Fixing this allows an http2 server with custom ALPN processing to be possible. For example, this allows the server to dynamically allow or deny http2 support based on the SNI.
What is the feature you are proposing to solve the problem?
Patch lib/internal/http2/core.js to avoid setting ALPNProtocols if ALPNCallback is present.
What alternatives have you considered?
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Awaiting Triage