Get protocol after handshake
Open
- 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