mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-23 19:48:19 +00:00
Update quinn/src/recv_stream.rs
Co-authored-by: Benjamin Saunders <ben.e.saunders@gmail.com>
This commit is contained in:
committed by
Benjamin Saunders
parent
162032d184
commit
b95e50fb1f
@@ -29,7 +29,7 @@ use crate::{
|
||||
/// carried data.
|
||||
///
|
||||
/// Even if the application layer logic already knows it read all the data because it does
|
||||
/// its own framing, it must still read until it reaches the end of the [`RecvStream`].
|
||||
/// its own framing, it should still read until it reaches the end of the [`RecvStream`].
|
||||
/// Otherwise it risks inadvertently calling [`RecvStream::stop`] if it drops the stream.
|
||||
/// And calling [`RecvStream::stop`] could result in the connected [`SendStream::finish`]
|
||||
/// call failing with a [`WriteError::Stopped`] error.
|
||||
|
||||
Reference in New Issue
Block a user