Closed lchenut closed 7 months ago
This PR adds a timeout to Yamux so that it works in the same way as Mplex. Adds a couple of tests. Fixes a bug revealed by tests where result.reset() called Future[void].reset() instead of YamuxStream.reset()
result.reset()
Future[void].reset()
YamuxStream.reset()
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (7faa0fa) 83.15% compared to head (14b9ed2) 83.22%.
7faa0fa
14b9ed2
This PR adds a timeout to Yamux so that it works in the same way as Mplex. Adds a couple of tests. Fixes a bug revealed by tests where
result.reset()
calledFuture[void].reset()
instead ofYamuxStream.reset()