max bytes of a received command enlarged from 1k to 16k
This commit is contained in:
parent
a56785f73c
commit
a1f6fa5edc
2
redis.c
2
redis.c
@ -1421,7 +1421,7 @@ again:
|
||||
* on the query buffer try to process the next command. */
|
||||
if (processCommand(c) && sdslen(c->querybuf)) goto again;
|
||||
return;
|
||||
} else if (sdslen(c->querybuf) >= 1024) {
|
||||
} else if (sdslen(c->querybuf) >= 1024*32) {
|
||||
redisLog(REDIS_DEBUG, "Client protocol error");
|
||||
freeClient(c);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user