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

Cache and reuse token on client side #370

Open
lostk1ng opened this issue Dec 3, 2021 · 2 comments
Open

Cache and reuse token on client side #370

lostk1ng opened this issue Dec 3, 2021 · 2 comments

Comments

@lostk1ng
Copy link
Contributor

lostk1ng commented Dec 3, 2021

Currently, when using 0-RTT we use NoValidationQuicTokenHandler on server side which do no validation to avoid retry packet. Should we support token cache and reuse on client side, so we can do address validation on first Initial packet without retry packet?

With a simple investigation, some works need to be done:

  1. quiche C-API should support set token to Initial packet.
  2. quiche should support send NEW_TOKEN frame.
  3. Implement token cache, and maybe add some expiration on token.
@normanmaurer
Copy link
Member

@lostk1ng any update on this one ?

@lostk1ng
Copy link
Contributor Author

lostk1ng commented Jun 6, 2022

@normanmaurer Not much progress as quiche don't support NEW_TOKEN frame yet. See: cloudflare/quiche#1111

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