parent
38ea913bb5
commit
fc39090e94
@ -862,6 +862,11 @@ func (s *Server) handleInputCommand(client *Client, msg *Message) error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if cmd == "hello" {
|
||||||
|
// Not Supporting RESP3+, returns an ERR instead.
|
||||||
|
return writeErr("unknown command '" + msg.Args[0] + "'")
|
||||||
|
}
|
||||||
|
|
||||||
if cmd == "timeout" {
|
if cmd == "timeout" {
|
||||||
if err := rewriteTimeoutMsg(msg); err != nil {
|
if err := rewriteTimeoutMsg(msg); err != nil {
|
||||||
return writeErr(err.Error())
|
return writeErr(err.Error())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user