From 484bcfa4db67a0c6c8df186eee22325cf447121d Mon Sep 17 00:00:00 2001 From: Andrew Pogrebennyk Date: Wed, 5 Apr 2017 15:48:48 +0200 Subject: [PATCH] TT#1640 increase the config line length to 4096 because of header_list Change-Id: I1f684bf4f5b5afdbbe4febdbecf9c12fe4f11277 --- debian/patches/series | 1 + .../0019-TT-1640-core_increase-max-config-line.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 debian/patches/sipwise/0019-TT-1640-core_increase-max-config-line.patch diff --git a/debian/patches/series b/debian/patches/series index 30488e54..fd9d222c 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -20,6 +20,7 @@ sipwise/MT-20649-change-config-validation sipwise/MT-20649-use-macros sipwise/0002-b-f-dsm-mod_conference-set-callgroup-to-conference-c.patch sipwise/0018-db_reg_agent-add-username_with_domain-option-to-use-.patch +sipwise/0019-TT-1640-core_increase-max-config-line.patch build-fix-bit-rot.patch build-fix-pie.patch build-fix-excludes.patch diff --git a/debian/patches/sipwise/0019-TT-1640-core_increase-max-config-line.patch b/debian/patches/sipwise/0019-TT-1640-core_increase-max-config-line.patch new file mode 100644 index 00000000..50820cf4 --- /dev/null +++ b/debian/patches/sipwise/0019-TT-1640-core_increase-max-config-line.patch @@ -0,0 +1,11 @@ +--- a/core/AmConfigReader.h ++++ b/core/AmConfigReader.h +@@ -33,7 +33,7 @@ + using std::string; + + +-#define MAX_CONFIG_LINE 2048 ++#define MAX_CONFIG_LINE 4096 + #define CONFIG_FILE_SUFFIX ".conf" + + /**