Remove stuff that is not needed with new ConnectionMaker approach

This commit is contained in:
Bryan Boreham committed 2014-09-10 12:29:21 +01:00
1 parent 84aeaf340a
commit 26f8a68a82
4 files changed
+1 -16

No files matched your search

-4
View File
@@ -277,10 +277,6 @@ func (conn *LocalConnection) handleShutdown() {
// blank out the forwardChan so that the router processes don't
// try to send any more
conn.stopForwarders()
if conn.remote != nil {
conn.Router.ConnectionMaker.EnsureConnection(conn.remoteTCPAddr)
}
}
func (conn *LocalConnection) handshake(acceptNewPeer bool) error {