Skip to content
Discussion options

You must be logged in to vote

That flag, QUIC_STREAM_OPEN_FLAG_0_RTT, is merely a hint to the API that says "This stream data is allowed to be sent in 0-RTT". It doesn't mean it will always use 0-RTT. A number of conditions have to happen first, primarily that the connection actually supports and uses TLS resumption and 0-RTT. My guess is that is not happening.

To use 0-RTT, you must use OpenSSL TLS (Schannel doesn't support it yet). Also, you must initially connect to the server and get a resumption ticket (received via the QUIC_CONNECTION_EVENT_RESUMPTION_TICKET_RECEIVED event). Then, on your next connection to the server, supply that token via SetParam with the QUIC_PARAM_CONN_RESUMPTION_TICKET parameter.

We don't …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@zdh3303
Comment options

@nibanks
Comment options

nibanks Nov 9, 2021
Collaborator

Answer selected by nibanks
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