Module: kamailio
Branch: 4.3
Commit: 8487422d35ab8af7511e2abf3a38afb1328f4851
URL:
https://github.com/kamailio/kamailio/commit/8487422d35ab8af7511e2abf3a38afb…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-10T13:59:16+02:00
evapi: increased the static buffer size used for reading evapi responses
- 32k instead of 4k
(cherry picked from commit c4fd9188263414d825815cfbd745ce5b1351e62e)
---
Modified: modules/evapi/evapi_dispatch.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8487422d35ab8af7511e2abf3a38afb…
Patch:
https://github.com/kamailio/kamailio/commit/8487422d35ab8af7511e2abf3a38afb…
---
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;