xtaci / smux

A Stream Multiplexing Library for golang with least memory usage(TDMA)
MIT License
1.31k stars 196 forks source link

What's the difference between version1 and version2 in smux.Config? #79

Closed EddieIvan01 closed 4 years ago

xtaci commented 4 years ago

v2 has per-stream flow control

EddieIvan01 commented 4 years ago

Thank you for replying

I'm wonder why need to implement high-level flow control over TCP's flow control

xtaci commented 4 years ago

going down the rabbit hole : https://en.wikipedia.org/wiki/Head-of-line_blocking

EddieIvan01 commented 4 years ago

Thanks : )