From a1f6fa5edc0d258b234f77a8cbe6084a3ade5325 Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 26 May 2009 16:35:18 +0200 Subject: [PATCH] max bytes of a received command enlarged from 1k to 16k --- redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis.c b/redis.c index 1d2d2ae3..63ae4948 100644 --- a/redis.c +++ b/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;