Message Loss #4715
Unanswered
nshimizups
asked this question in
Q&A
Message Loss
#4715
Replies: 2 comments 1 reply
-
Getting a send complete only means the peer transport later has received the data, not that the app has. So, you cannot use that signal to determine if the peer got your data. |
Beta Was this translation helpful? Give feedback.
1 reply
-
After trying various things, we were able to send and receive messages without any loss. What we did: We ensured not to close the stream in the QUIC_STREAM_EVENT_SEND_COMPLETE event. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Program Overview:
Send
function, theSending
function setsm_isSendComplete
tofalse
.m_isSendComplete
is updated totrue
upon detection of theQUIC_STREAM_EVENT_SEND_COMPLETE
callback.QUIC_STREAM_EVENT_SEND_COMPLETE
callback.Results:
MsQuic->StreamSend
.Issues:
Question:
sleep()
within the loop has reduced the occurrence of data loss. However, adding arbitrary sleep is not preferred.Test Program Excerpt (の一部抜粋):
MainLoop
function,MsQuic::StreamStart
has been completed before execution.Beta Was this translation helpful? Give feedback.
All reactions