[sr-dev] git:master:c4fd9188: evapi: increased the static buffer size used for reading evapi responses

Daniel-Constantin Mierla miconda at gmail.com
Thu Sep 10 11:59:18 CEST 2015


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-09-10T11:48:54+02:00

evapi: increased the static buffer size used for reading evapi responses

- 32k instead of 4k

---

Modified: modules/evapi/evapi_dispatch.c

---

Diff:  https://github.com/kamailio/kamailio/commit/c4fd9188263414d825815cfbd745ce5b1351e62e.diff
Patch: https://github.com/kamailio/kamailio/commit/c4fd9188263414d825815cfbd745ce5b1351e62e.patch

---

diff --git a/modules/evapi/evapi_dispatch.c b/modules/evapi/evapi_dispatch.c
index 0d76c9f..3731be7 100644
--- a/modules/evapi/evapi_dispatch.c
+++ b/modules/evapi/evapi_dispatch.c
@@ -225,7 +225,7 @@ int evapi_dispatch_notify(char *obuf, int olen)
  */
 void evapi_recv_client(struct ev_loop *loop, struct ev_io *watcher, int revents)
 {
-#define CLIENT_BUFFER_SIZE	4096
+#define CLIENT_BUFFER_SIZE	32768
 	char rbuffer[CLIENT_BUFFER_SIZE];
 	ssize_t rlen;
 	int i, k;




More information about the sr-dev mailing list