[sr-dev] git:5.4:5d30b911: core: set MAX_WARNING_LEN to 1024

Daniel-Constantin Mierla miconda at gmail.com
Thu Jul 29 10:57:45 CEST 2021


Module: kamailio
Branch: 5.4
Commit: 5d30b9111e1e80553ba260767521b9132b82d6a7
URL: https://github.com/kamailio/kamailio/commit/5d30b9111e1e80553ba260767521b9132b82d6a7

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-07-29T10:49:37+02:00

core: set MAX_WARNING_LEN to 1024

- 256 can be too short
- close GH #2799

(cherry picked from commit 0d06e164efa720d91d49995585e80c9082ce3b21)
(cherry picked from commit 1f9f6fff6e0ab21e460538ffd1e54b6c60f54f7e)

---

Modified: src/core/config.h

---

Diff:  https://github.com/kamailio/kamailio/commit/5d30b9111e1e80553ba260767521b9132b82d6a7.diff
Patch: https://github.com/kamailio/kamailio/commit/5d30b9111e1e80553ba260767521b9132b82d6a7.patch

---

diff --git a/src/core/config.h b/src/core/config.h
index 81fe101fe1..d8a85e9e6e 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -90,7 +90,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