From 49f61c8d4ce5b1df5110ebb98eacc030d165830b Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Thu, 15 Jan 2015 20:12:04 +0000 Subject: [PATCH] correct comment This should have been part of #349. --- router/connection.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/router/connection.go b/router/connection.go index 7107e272..2d1cd253 100644 --- a/router/connection.go +++ b/router/connection.go @@ -462,10 +462,11 @@ func (conn *LocalConnection) receiveTCP(decoder *gob.Decoder) { continue } if msg[0] == ProtocolConnectionEstablished { - // We initiated the connection. We sent fast heartbeats to - // the remote side, which has now received at least one of - // them and thus has informed us via TCP that it considers - // the connection is now up. We now do a fetchAll on it. + // We sent fast heartbeats to the remote peer, which has + // now received at least one of them and told us via this + // message. We can now consider the connection as + // established from our end, and request the complete + // topology from the remote. conn.SetEstablished() conn.SendTCP(ProtocolFetchAllByte) } else if msg[0] == ProtocolStartFragmentationTest {