xquic icon indicating copy to clipboard operation
xquic copied to clipboard

[Bug]: xqc_stream_close should check DATA_RECVD state

Open Luffbee opened this issue 2 years ago • 0 comments

What happened?

xqc_stream_close after DATA_RECVD state may cause error: https://github.com/alibaba/xquic/blob/917ac4a9bfaf4bf5293b1413681b66c36a9d97ad/src/transport/xqc_stream.c#L619

Steps To Reproduce

call xqc_stream_close after DATA_RECVD state.

Relevant log output

No response

Luffbee avatar Feb 21 '23 07:02 Luffbee