Module: kamailio
Branch: master
Commit: c087b1d1dd06a1fd417998fe0a51dedcfe02e8c6
URL:
https://github.com/kamailio/kamailio/commit/c087b1d1dd06a1fd417998fe0a51ded…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-06-07T10:10:36+02:00
core: pv - default number of buffer slots set to 40
- it was 10
- allow handling more chained evaluations in large strings
---
Modified: src/core/pvapi.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c087b1d1dd06a1fd417998fe0a51ded…
Patch:
https://github.com/kamailio/kamailio/commit/c087b1d1dd06a1fd417998fe0a51ded…
---
diff --git a/src/core/pvapi.c b/src/core/pvapi.c
index dac770a0f3..841b1801fe 100644
--- a/src/core/pvapi.c
+++ b/src/core/pvapi.c
@@ -2025,7 +2025,7 @@ static char **_pv_print_buffer = NULL;
static int _pv_print_buffer_size = PV_DEFAULT_PRINT_BUFFER_SIZE;
static int _pv_print_buffer_size_active = 0;
/* 6 mod params + 4 direct usage from mods */
-#define PV_DEFAULT_PRINT_BUFFER_SLOTS 10
+#define PV_DEFAULT_PRINT_BUFFER_SLOTS 40
static int _pv_print_buffer_slots = PV_DEFAULT_PRINT_BUFFER_SLOTS;
static int _pv_print_buffer_slots_active = 0;
static int _pv_print_buffer_index = 0;