[sr-dev] git:5.5:1f9f6fff: core: set MAX_WARNING_LEN to 1024

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


Module: kamailio
Branch: 5.5
Commit: 1f9f6fff6e0ab21e460538ffd1e54b6c60f54f7e
URL: https://github.com/kamailio/kamailio/commit/1f9f6fff6e0ab21e460538ffd1e54b6c60f54f7e

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

core: set MAX_WARNING_LEN to 1024

- 256 can be too short
- close GH #2799

(cherry picked from commit 0d06e164efa720d91d49995585e80c9082ce3b21)

---

Modified: src/core/config.h

---

Diff:  https://github.com/kamailio/kamailio/commit/1f9f6fff6e0ab21e460538ffd1e54b6c60f54f7e.diff
Patch: https://github.com/kamailio/kamailio/commit/1f9f6fff6e0ab21e460538ffd1e54b6c60f54f7e.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