Module: kamailio
Branch: master
Commit: f5a0e6f19b4e04d32499f796ef59049a7c798f54
URL:
https://github.com/kamailio/kamailio/commit/f5a0e6f19b4e04d32499f796ef59049…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-05-12T16:34:12+02:00
kamcmd: increased the max reply size from 64kB to 128kB
---
Modified: utils/kamcmd/kamcmd.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f5a0e6f19b4e04d32499f796ef59049…
Patch:
https://github.com/kamailio/kamailio/commit/f5a0e6f19b4e04d32499f796ef59049…
---
diff --git a/utils/kamcmd/kamcmd.c b/utils/kamcmd/kamcmd.c
index 08fb3b2..9e62c90 100644
--- a/utils/kamcmd/kamcmd.c
+++ b/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