Skip to content

修复windows下tcp连接close后仍在read导致的nil

Compare
Choose a tag to compare
@luyu6056 luyu6056 released this 21 Feb 02:52
· 13 commits to master since this release

增加一个tcpClose结构体,当read出现err之后,传入el.ch并return,以保证tcpClose是在read之后执行,并且tcpClose之后不会在进行read。