shadowsocks / go-shadowsocks2

Modern Shadowsocks in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

有段代码没看明白,为什么copy完了要setReadDeadLine

happymop977 opened this issue · comments

https://github.com/shadowsocks/go-shadowsocks2/blob/master/tcp.go#L157
154 和157行,
后续代码里对left和right都木有read操作了,为什么要这么写呢,谢谢老板

commented

已经写了注释:unblock read on *

谢谢老板