Skip to content
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

TLS 1.3 0-RTT support #164

Open
digitwolf opened this issue Jan 18, 2022 · 4 comments
Open

TLS 1.3 0-RTT support #164

digitwolf opened this issue Jan 18, 2022 · 4 comments

Comments

@digitwolf
Copy link

Hi all,

I couldn't find an API to enable 0-RTT.
Is there an easy way to use this lib and enable it?

@djc
Copy link
Member

djc commented Jan 18, 2022

For the client or the server? For the client, have a look at https://docs.rs/rustls/latest/rustls/struct.ClientConnection.html#method.early_data. For the server, that's only recently been implemented on the main branch.

@digitwolf
Copy link
Author

@djc thank you! I need both.
When do you think it will make to a release?

@digitwolf
Copy link
Author

@djc But how do I use ClientConnection in hyper? I thought that the idea of this crate is to hide rustls from hyper.
It looks like it is an internal rustls API that is not exposed to hyper.

It would be nice if the HttpsConnector would automatically write to early data

@djc
Copy link
Member

djc commented Jan 18, 2022

I'm not sure what it would take to bring early data support to hyper, but it's definitely an interesting project!

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

No branches or pull requests

2 participants