Skip to content

feat: add alpn-accept cargo feature forwarding to native-tls#42

Open
jbr wants to merge 1 commit into
chatmail:masterfrom
jbr:alpn-accept
Open

feat: add alpn-accept cargo feature forwarding to native-tls#42
jbr wants to merge 1 commit into
chatmail:masterfrom
jbr:alpn-accept

Conversation

@jbr

@jbr jbr commented Apr 27, 2026

Copy link
Copy Markdown

Implementation choices: I went with the least invasive change, a feature gated new_with_alpn, but switching to a builder would allow for surfacing other apis like min_protocol_version and max_protocol_version -- I don't have use for those but others might

I also included the negotiated_alpn accessor unconditionally because client alpn is unconditional, and client alpn isn't super useful if there's no way to find out what protocol was actually negotiated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant