-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example for low-level-native-tls #2853
Comments
Can you describe more about the issue @msdrigg ? |
@SarthakPaandey What exactly is unclear to you here? |
Could you provide more specifics on what functionalities or configurations are unclear when using native-tls compared to rustls or openssl and in which are you addressing the issue? |
Well the issue for me personally is that I have never used tokio-native-tls. Having an example using it would be very beneficial for me to get a simple axum server setup with native tls. Without such an example, it would require a lot of investigation into the native-tls docs to even get this simple use case setup. |
Obviously, this would not be impossible for me or anyone else to achieve even without an example. But still, I wanted to create this issue because I think this would be helpful addition to axum examples (just as low-level-rustls is helpful for people wanting to use rustls) |
Feature Request
Motivation
There are currently good examples for low-level-rustls and low-level-openssl that are sufficient to get a beginner started on their project, but their is no such example for native-tls. The ecosystem around acceptors, listeners and streams is confusing enough that there is a lot of potential value to a simple example providing certificate configuration and then serving via axum.
Proposal
There should be a new example added providing the same functionality as low-level-rustls or low-level-openssl but with the native-tls backend.
The text was updated successfully, but these errors were encountered: