You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So what happens in the log was, app tried to
0. shutdown the connection
open the stream
start the stream
send some data
All calls returns success but I get callback for event QUIC_STREAM_EVENT_START_COMPLETE .
I missed this in the logging because the ID looks abnormal 18446744073709551615. (UINT64 max ?)
Describe the bug
Stream could be opened successfully with
MsQuicStreamOpen
afterMsQuicConnectionShutdown
is called.MsQuicConnectionShutdown
is async task,msquic/src/core/api.c
Line 252 in 9cab5bf
MsQuicStreamOpen
is sync call, but there is no synchronization inMsQuicStreamOpen
when it checks the states of connectionmsquic/src/core/api.c
Line 653 in 9cab5bf
It could cause stream leaks when the opened stream is not removed here (when processing ):
msquic/src/core/connection.c
Line 1631 in 9cab5bf
Our application do refcounting for conn handle, that it only calls
CONNECTION_CLOSE
when all the stream handles belong to the conn are closed.trouble connection: 0xffff42428100
trouble stream: 0xffff5388e880
Affected OS
Additional OS information
ubuntu22.04 arm64
MsQuic version
v2.3
Steps taken to reproduce bug
Expected behavior
For step 3, it should either
a) fail to open the stream
b) open success but get a "Stream_SHUTDOWN_COMPLETE" event.
Actual outcome
Open success but NO "Stream_SHUTDOWN_COMPLETE" event, completely quiet on callback.
Additional details
quicer_conn_and_strm.log
The text was updated successfully, but these errors were encountered: