Module: kamailio
Branch: 5.4
Commit: 5d30b9111e1e80553ba260767521b9132b82d6a7
URL:
https://github.com/kamailio/kamailio/commit/5d30b9111e1e80553ba260767521b91…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/5d30b9111e1e80553ba260767521b91…
Patch:
https://github.com/kamailio/kamailio/commit/5d30b9111e1e80553ba260767521b91…
---
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)