-
System: centos 7
Settings.ServerResumptionLevel =QUIC_SERVER_RESUME_AND_ZERORTT; Why is there no 0-rtt packet captured by tcpdump, but it is still an Initial packet. Do I need to do anything else? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
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 |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your reply! wish you a happy life!
centos 7
1.0-rtt has been caught, I would like to ask if there is any way to get ssl_key. Stream and data can be seen in wireshark?
2. How does RunClient(EQUICESULT *eRes) obtain the success or failure of streaming data?
Since ClientSend (EQUICRESULT *eRes) is sent asynchronously, I assigned a value to eWriteResult in the QUIC_STREAM_EVENT_SEND_COMPLETE event of ClientStreamCallback (EQUICRESULT *eRes), but I did not get the sending result at the end of the RunClient function. Only after RegistrationClose() can the result be obtained,
I now want to send RunClient(EQUICESULT *eRes) in multiple threads, and it will not execute to the RegistrationClose() function.
How can I know where ClientSend has successfully sent data asynchronously as soon as possible?
…------------------ 原始邮件 ------------------
发件人: "microsoft/msquic" ***@***.***>;
发送时间: 2021年6月25日(星期五) 晚上11:18
***@***.***>;
***@***.******@***.***>;
主题: Re: [microsoft/msquic] linux sample can not achieve 0-rtt? (#1771)
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).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
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 toConnectionStart
(along with the changes you list above).