[sr-dev] git:master:0d06e164: core: set MAX_WARNING_LEN to 1024

Daniel-Constantin Mierla miconda at gmail.com
Mon Jul 12 14:02:40 CEST 2021


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-07-12T14:02:28+02:00

core: set MAX_WARNING_LEN to 1024

- 256 can be too short
- close GH #2799

---

Modified: src/core/config.h

---

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

---

diff --git a/src/core/config.h b/src/core/config.h
index e012e98edf..b71a15e7a8 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -91,7 +91,7 @@
 #define SERVER_HDR "Server: " SRVAPP_SIGNATURE
 #define SERVER_HDR_LEN (sizeof(SERVER_HDR)-1)
 
-#define MAX_WARNING_LEN  256
+#define MAX_WARNING_LEN  1024
 
 #define MY_BRANCH ";branch="
 #define MY_BRANCH_LEN (sizeof(MY_BRANCH) - 1)




More information about the sr-dev mailing list