litep2p icon indicating copy to clipboard operation
litep2p copied to clipboard

yamux: Update yamux with window tuning and backport fixes

Open lexnv opened this issue 4 months ago • 0 comments

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.

lexnv avatar Sep 26 '24 15:09 lexnv