From 3c50909a49fd5c47044ecf0708b3ca546f40a251 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Wed, 24 Dec 2014 09:09:00 +0000 Subject: [PATCH] nodelay is the default, according to the docs --- router/connection.go | 1 - 1 file changed, 1 deletion(-) diff --git a/router/connection.go b/router/connection.go index fe9073d3..9ff2e303 100644 --- a/router/connection.go +++ b/router/connection.go @@ -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)