commit 890f607082b8d879c7b6b3e2f7dd7eb4cf7eb782
Author: Oswald Buddenhagen <o...@kde.org>
Date:   Sun Mar 27 17:50:13 2011 +0200

    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 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/isync.h b/src/isync.h
index 9aac733..e96dba2 100644
--- a/src/isync.h
+++ b/src/isync.h
@@ -106,7 +106,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 {

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to