]> git.saurik.com Git - redis.git/blobdiff - redis.c
redis-benchmark hopefully last bug with multi bulk reply fixed
[redis.git] / redis.c
diff --git a/redis.c b/redis.c
index a45f28314a3caec5615c1c46e7939c85379b388b..df3b413192bc98cda7c2460968fdb7e37eb785ca 100644 (file)
--- a/redis.c
+++ b/redis.c
@@ -1385,6 +1385,7 @@ static void sendReplyToClient(aeEventLoop *el, int fd, void *privdata, int mask)
 
 
     /* Use writev() if we have enough buffers to send */
+    #if 0
     if (!server.glueoutputbuf &&
         listLength(c->reply) > REDIS_WRITEV_THRESHOLD && 
         !(c->flags & REDIS_MASTER))
@@ -1392,6 +1393,7 @@ static void sendReplyToClient(aeEventLoop *el, int fd, void *privdata, int mask)
         sendReplyToClientWritev(el, fd, privdata, mask);
         return;
     }
+    #endif
 
     while(listLength(c->reply)) {
         if (server.glueoutputbuf && listLength(c->reply) > 1)