xtaci / smux

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

stream.SetDealine not work if stream is already hang up after executing stream.waitRead #64

Closed LukeLandWalker closed 4 years ago

LukeLandWalker commented 4 years ago

stream.SetReadDeadline not work if stream is already hang up after executing stream.waitRead.

xtaci commented 4 years ago

https://github.com/xtaci/smux/commit/d2d7690bcce62fc6978666a2559c0d8bd3bf0036 try this commit

LukeLandWalker commented 4 years ago

d2d7690 try this commit

OK, I'll try.

LukeLandWalker commented 4 years ago

d2d7690 try this commit

It works! THX!