Module: kamailio
Branch: master
Commit: c4fd9188263414d825815cfbd745ce5b1351e62e
URL:
https://github.com/kamailio/kamailio/commit/c4fd9188263414d825815cfbd745ce5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/c4fd9188263414d825815cfbd745ce5…
Patch:
https://github.com/kamailio/kamailio/commit/c4fd9188263414d825815cfbd745ce5…
---
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;