litep2p
litep2p copied to clipboard
yamux: Update yamux with window tuning and backport fixes
This PR updates the internal yamux crate to include the following:
- yamux window auto tuning similar to QUIC
- Wake up readers to not miss EOF
- pending frames are replace with pending read and write frame for propagating backpressure
Updates are backported from upstream to work with the current yamux::Control
and yamux::ControlledConnection
.
The Control
and ControlleConnection
are used by litep2p and have been removed by upstream. This will lead to a major litep2p refactor which may take significantly longer than backporting.