rpc: Should validate server versions. (#2775)

Fixes #2764
This commit is contained in:
Harshavardhana
2016-09-24 03:34:45 -07:00
committed by GitHub
parent 669783f875
commit 1c941fd787
5 changed files with 25 additions and 11 deletions
+1
View File
@@ -154,6 +154,7 @@ func (l *lockServer) LoginHandler(args *RPCLoginArgs, reply *RPCLoginReply) erro
}
reply.Token = token
reply.Timestamp = l.timestamp
reply.ServerVersion = Version
return nil
}