Skip to content

Handle custom ALPNs in s2n impl of ALPN::to_wire_protocols()#820

Open
varunravi98 wants to merge 1 commit intocloudflare:mainfrom
mongodb-forks:main
Open

Handle custom ALPNs in s2n impl of ALPN::to_wire_protocols()#820
varunravi98 wants to merge 1 commit intocloudflare:mainfrom
mongodb-forks:main

Conversation

@varunravi98
Copy link
Contributor

@varunravi98 varunravi98 commented Feb 17, 2026

This PR should fix #818.

I modeled the fix to emulate what we have for rustls as I believe the protocol() method for Custom should allow to_wire_protocols() to return the custom protocol's name for the ALPN even on s2n.

Please let me know if there are any issues with this or if you would like targeted testing. Thanks!

@johnhurt johnhurt self-assigned this Feb 19, 2026
@johnhurt johnhurt added the Accepted This change is accepted by us and merged to our internal repo label Feb 19, 2026
johnhurt pushed a commit that referenced this pull request Mar 2, 2026
johnhurt pushed a commit that referenced this pull request Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Accepted This change is accepted by us and merged to our internal repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pingora-core fails to compile with the s2n TLS provider

2 participants