yomorun/y3

When the data is sent and then close QUIC Stream, Y3 `ReadPacket` returns an error

Closed this issue · 0 comments

When the DataFrame was sent and the client closed the QUIC stream, Y3 ReadPacket can't parse the packet successfully, because it gets an EOF error from io.Reader.
Y3 ReadPacket should handle the EOF as an expected error which means the data was fully sent and the stream was closed?
https://github.com/yomorun/y3/blob/main/parser.go#L69