Workaround for lettuce handshake to work.

Issue #636
This commit is contained in:
tidwall 2022-03-10 12:44:40 -07:00
parent 38ea913bb5
commit fc39090e94
1 changed files with 5 additions and 0 deletions

View File

@ -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 err := rewriteTimeoutMsg(msg); err != nil {
return writeErr(err.Error())