]> git.feebdaed.xyz Git - 0xmirror/quic-go.git/commit
simplify ReceiveStream.Read implementation (#5500)
authorMarten Seemann <martenseemann@gmail.com>
Fri, 26 Dec 2025 07:17:55 +0000 (15:17 +0800)
committerGitHub <noreply@github.com>
Fri, 26 Dec 2025 07:17:55 +0000 (08:17 +0100)
commit221373fcf32afb344c81359bc180beea266e0d77
tree12a6197ec5da3750c7ee55ba176d43faad4486f4
parent06e67f5e7754fc9c4fca7a83e801c2e8f42a8484
simplify ReceiveStream.Read implementation (#5500)

* simplify check for stream cancellations

* only arm deadline timer if there’s no data to read

* remove redundant nil check
receive_stream.go