Skip to content

[FEATURE] TLS and ALPN Negotiation for HTTP2 #106

Description

@gimlet2

Feature Description

Support TLS and ALPN negotiation for secure HTTP2 connections.

Problem/Use Case

Most HTTP2 deployments require secure negotiation via TLS and ALPN (Application-Layer Protocol Negotiation).

Proposed Solution

  • Implement ALPN support for "h2" token during TLS handshake
  • Ensure compatibility with common TLS libraries

Code Example

server.startTls(alpnProtocols = listOf("h2"))

Alternatives Considered

  • No ALPN/TLS (limits interoperability)

Additional Context

  • Would this be a breaking change? No
  • Priority: High
  • Related to HTTP2 support #3 HTTP2 support

Related Issues/PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions