Browse code

sercmd: increase internal buffers

Increase sizes for maximum reply and maximum body (send) to
64k, maximum command arguments number to 256 and maximum line
size to 16k.

Reported-by: Daniel-Constantin Mierla <miconda@gmail.com>
Reported-by: Juha Heinanen jh tutpro com

Andrei Pelinescu-Onciul authored on 22/09/2010 10:33:12
Showing 1 changed files
... ...
@@ -74,11 +74,10 @@
74 74
 #endif
75 75
 
76 76
 #define IOVEC_CNT 20
77
-#define BUF_SIZE  65535
78
-#define MAX_LINE_SIZE 1024 /* for non readline mode */
79
-#define MAX_REPLY_SIZE  4096
80
-#define MAX_BODY_SIZE   4096
81
-#define MAX_BINRPC_ARGS  128
77
+#define MAX_LINE_SIZE 16384 /* for non readline mode */
78
+#define MAX_REPLY_SIZE 65536
79
+#define MAX_BODY_SIZE  65536
80
+#define MAX_BINRPC_ARGS 256
82 81
 
83 82
 
84 83
 #ifndef UNIX_PATH_MAX