From ae85e455d3c802ddb0d61a7c2cb7177aef5289de Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sun, 27 Mar 2011 17:50:13 +0200 Subject: [PATCH] enlarge receive buffer considerably the tiny buffer makes no sense in the face of huge payloads and now additionally masses of replies from pipelined commands. --- src/isync.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/isync.h b/src/isync.h index eba562b..e72c627 100644 --- a/src/isync.h +++ b/src/isync.h @@ -104,7 +104,7 @@ typedef struct { int offset; /* start of filled bytes in buffer */ int bytes; /* number of filled bytes in buffer */ int scanoff; /* offset to continue scanning for newline at, relative to 'offset' */ - char buf[1024]; + char buf[100000]; } conn_t; typedef struct {