nodelay is the default, according to the docs
This commit is contained in:
1 parent
ad67dc5d07
commit
3c50909a49
1 file changed
-1
@@ -287,7 +287,6 @@ func (conn *LocalConnection) handshake(acceptNewPeer bool) error {
|
||||
tcpConn := conn.TCPConn
|
||||
tcpConn.SetKeepAlive(true)
|
||||
tcpConn.SetLinger(0)
|
||||
tcpConn.SetNoDelay(true)
|
||||
|
||||
enc := gob.NewEncoder(tcpConn)
|
||||
|
||||
|
||||
Reference in new issue
Block a user