There is some inconsistency with MuxId for Yamux: the StreamId for yamux is just a Long while stream id for Mplex is a pair of (Long, Boolean). So we need to abstract MuxId and make it consistent across both muxers
We also need to validate remote StreamId on remote stream opening (SYN for Yamux)
There is some inconsistency with
MuxId
for Yamux: theStreamId
for yamux is just aLong
while stream id for Mplex is a pair of(Long, Boolean)
. So we need to abstractMuxId
and make it consistent across both muxersWe also need to validate remote
StreamId
on remote stream opening (SYN
for Yamux)MuxId