Fix session ID issue, we only need a new session when we really need a new session, i.e. give people a way to ask for it instead of trying to guess
This commit is contained in:
@ -63,7 +63,8 @@ func parseReply(line string) (*Reply, error) {
|
||||
} else {
|
||||
kvPair := strings.SplitN(v, "=", 2)
|
||||
if kvPair != nil {
|
||||
if len(kvPair) != 2 {
|
||||
if len(kvPair) == 1 {
|
||||
} else if len(kvPair) != 2 {
|
||||
return nil, fmt.Errorf("Malformed key-value-pair.\n%s\n", kvPair)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user