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
+3
View File
@@ -21,6 +21,9 @@ import "errors"
// errServerNotInitialized - server not initialized.
var errServerNotInitialized = errors.New("Server not initialized, please try again.")
// errServerVersionMismatch - server versions do not match.
var errServerVersionMismatch = errors.New("Server versions do not match.")
/// Auth operations
// Login - login handler.