async-rs / async-rs/async-tls

Get protocol after handshake

Open
#30 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
172
Forks
49
PR merge metrics
No merged PRs in 30d

Description

I was able to get this up and running but I cannot find a way to get which alpn protocol was decided (lets say server supports both http2 and http1.1 on alpn). Underlying ServerSession of rustls supports this but it is private trough `TlsStream` or acceptor. What is the correct way to access it?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing TlsStream and the acceptor API, then compare them with rustls' underlying ServerSession ALPN support mentioned in the issue. Determine an appropriate public way to expose the negotiated protocol and define how callers would verify it after the handshake.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.