mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
优化tcp连接
This commit is contained in:
@@ -95,6 +95,7 @@ func (server *TCPServer) run() {
|
||||
}
|
||||
return
|
||||
}
|
||||
conn.(*net.TCPConn).SetNoDelay(true)
|
||||
tempDelay = 0
|
||||
|
||||
server.mutexConns.Lock()
|
||||
|
||||
Reference in New Issue
Block a user