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
{{ message }}
This repository was archived by the owner on Dec 7, 2019. It is now read-only.
For example in QUIC, Close closes the stream in the write-direction, and Reset closes the stream in read-direction.
This. @whyrusleeping added this method because yamux has this same behavior and it turns out we've been half-closing our streams. This often didn't make a difference but was the ultimate cause of a rather nasty bitswap bug (ipfs/kubo#3651 (comment)).
Reset
was recently (be2992b) added to theStream
interface, but it's not clear what the expected behavior is.We should describe that in the interface. Furthermore,
Close
is also an ambiguous term, and needs an explanation as well.For example in QUIC,
Close
closes the stream in the write-direction, andReset
closes the stream in read-direction.The text was updated successfully, but these errors were encountered: