[sr-dev] git:master:f5a0e6f1: kamcmd: increased the max reply size from 64kB to 128kB

Daniel-Constantin Mierla miconda at gmail.com
Fri May 12 16:34:25 CEST 2017


Module: kamailio
Branch: master
Commit: f5a0e6f19b4e04d32499f796ef59049a7c798f54
URL: https://github.com/kamailio/kamailio/commit/f5a0e6f19b4e04d32499f796ef59049a7c798f54

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/f5a0e6f19b4e04d32499f796ef59049a7c798f54.diff
Patch: https://github.com/kamailio/kamailio/commit/f5a0e6f19b4e04d32499f796ef59049a7c798f54.patch

---

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
 
 




More information about the sr-dev mailing list