After the client and server exchange a single message, they are unable to receive any further messages. #5865
Answered
by
anrossi
realurl2077-netizen
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
anrossi
Mar 16, 2026
Replies: 1 comment 1 reply
-
|
Why is |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
realurl2077-netizen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Why is
StreamReceiveCompletecalled in the receive callback? That's only necessary with asynchronous receive completion (returningQUIC_STATUS_PENDINGfrom the receive callback).Also,
SafeStreamSendhas a bug where thesend_bufneeds to be part of theSendContextstruct. In the code pasted above, it is allocated on the stack, and a pointer to the stack address is given to MsQuic, but onceSafeStreamSendreturns, that address is no longer valid, but MsQuic may read it after then.