浏览代码

kamcmd: increased the max reply size from 64kB to 128kB

Daniel-Constantin Mierla 8 年之前
父节点
当前提交
f5a0e6f19b
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      utils/kamcmd/kamcmd.c

+ 3 - 3
utils/kamcmd/kamcmd.c

@@ -67,9 +67,9 @@
 #endif
 
 #define IOVEC_CNT 20
-#define MAX_LINE_SIZE 16384 /* for non readline mode */
-#define MAX_REPLY_SIZE 65536
-#define MAX_BODY_SIZE  65536
+#define MAX_LINE_SIZE 16*1024 /* for non readline mode */
+#define MAX_REPLY_SIZE 128*1024
+#define MAX_BODY_SIZE  128*1024
 #define MAX_BINRPC_ARGS 256