mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-05 16:57:06 +08:00
add unittests and bug fix
This commit is contained in:
@@ -184,7 +184,7 @@ func (client *Client) finishRequest(reply redis.Reply) {
|
||||
}
|
||||
|
||||
func (client *Client) handleRead() error {
|
||||
ch := parser.Parse(client.conn)
|
||||
ch := parser.ParseStream(client.conn)
|
||||
for payload := range ch {
|
||||
if payload.Err != nil {
|
||||
client.finishRequest(reply.MakeErrReply(payload.Err.Error()))
|
||||
|
Reference in New Issue
Block a user