1 parent
36cb3c77b5
commit
49f61c8d4c
1 file changed
+5
-4
@@ -462,10 +462,11 @@ func (conn *LocalConnection) receiveTCP(decoder *gob.Decoder) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if msg[0] == ProtocolConnectionEstablished {
|
if msg[0] == ProtocolConnectionEstablished {
|
||||||
// We initiated the connection. We sent fast heartbeats to
|
// We sent fast heartbeats to the remote peer, which has
|
||||||
// the remote side, which has now received at least one of
|
// now received at least one of them and told us via this
|
||||||
// them and thus has informed us via TCP that it considers
|
// message. We can now consider the connection as
|
||||||
// the connection is now up. We now do a fetchAll on it.
|
// established from our end, and request the complete
|
||||||
|
// topology from the remote.
|
||||||
conn.SetEstablished()
|
conn.SetEstablished()
|
||||||
conn.SendTCP(ProtocolFetchAllByte)
|
conn.SendTCP(ProtocolFetchAllByte)
|
||||||
} else if msg[0] == ProtocolStartFragmentationTest {
|
} else if msg[0] == ProtocolStartFragmentationTest {
|
||||||
|
|||||||
Reference in new issue
Block a user