Skip to content

linux sample can not achieve 0-rtt? #1771

Answered by nibanks
muyiwq asked this question in Q&A
Discussion options

You must be logged in to vote

Currently, in the sample, the client doesn't open and send on a stream until after the handshake. By then, you already have the 1-RTT keys so you don't use 0-RTT. If you want to try to exercise 0-RTT, you'd need to move ClientSend to before the call to ConnectionStart (along with the changes you list above).

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by nibanks
Comment options

You must be logged in to vote
3 replies
@nibanks
Comment options

nibanks Jun 26, 2021
Collaborator

@nibanks
Comment options

nibanks Jun 26, 2021
Collaborator

@muyiwq
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants