xquic icon indicating copy to clipboard operation
xquic copied to clipboard

[Bug]: unidirectional stream state not right?

Open Luffbee opened this issue 3 years ago • 0 comments

What happened?

I see the latest release support unidirectional stream now, but the send/recv states are still init like bidirectional stream, which is not right. Unidirectional stream can only send/recv, so its recv/send state should be init as DataRead/DataRecvd, and this will affect stream closing.

Steps To Reproduce

I only review the code, and I met this problem in my custom version.

Relevant log output

No response

Luffbee avatar Aug 29 '22 04:08 Luffbee