You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation consumes self when calling the close method on the substream.
After the close is called, the substream's end user should no longer write data into it.
This is a bit restrictive because the substream can be drained/read after the close call.
The current implementation consumes self when calling the
close
method on the substream.After the close is called, the substream's end user should no longer write data into it.
This is a bit restrictive because the substream can be drained/read after the close call.
litep2p/src/substream/mod.rs
Line 339 in 2a49fd0
It is entirely possible to have the following scenario:
One such implementation is the
/perf/1.0.0
protocol from rust-libp2p.The text was updated successfully, but these errors were encountered: