nodelay is the default, according to the docs

This commit is contained in:
Matthias Radestock committed 2014-12-24 09:09:00 +00:00
1 parent ad67dc5d07
commit 3c50909a49
1 file changed
-1
-1
View File
@@ -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)