commit 1ca0b4c9fbc5b7b1867f0e0a2b8b9d8540396209
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 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 {

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to