libp2p / jvm-libp2p

a libp2p implementation for the JVM, written in Kotlin 🔥
https://libp2p.io
Apache License 2.0
260 stars 74 forks source link

[Yamux] Refactor window sizes retrieval #323

Closed StefanBratanov closed 11 months ago

StefanBratanov commented 11 months ago

Revert changes in https://github.com/libp2p/jvm-libp2p/pull/318

Since it is a duplex stream and there is no notion of inbound/outbound and there is no possibility of 2 MuxId per stream, there is no need for a separate map.