fix comment
continuous-integration/drone/push Build was killed Details
continuous-integration/drone/pr Build was killed Details

This commit is contained in:
Alex 2022-09-13 11:52:35 +02:00
parent bf0e82047f
commit add2b54743
Signed by: lx
GPG Key ID: 0E496D15096376BE
1 changed files with 2 additions and 2 deletions

View File

@ -53,8 +53,8 @@ where
M: Message,
{
async fn handle(self: &Arc<Self>, mut m: Req<M>, from: NodeID) -> Resp<M> {
// Immediately drop stream to avoid backpressure if a stream was sent
// (this will make all data sent to the stream be ignored immediately)
// Immediately drop stream to ignore all data that comes in,
// instead of buffering it indefinitely
drop(m.take_stream());
Resp::new(EndpointHandler::handle(self, m.msg(), from).await)
}