Module: kamailio
Branch: 4.4
Commit: 19b4c38c9612e88cb8664fd21c98d86bb78b71b6
URL:
https://github.com/kamailio/kamailio/commit/19b4c38c9612e88cb8664fd21c98d86…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-10-10T12:16:01+02:00
core: defined macro for CRLFCRLF
- used in pinging over tcp, makes it more coherent to use
(cherry picked from commit 6649cdf51520cfcc366f2839316c8d45c233421b)
---
Modified: config.h
---
Diff:
https://github.com/kamailio/kamailio/commit/19b4c38c9612e88cb8664fd21c98d86…
Patch:
https://github.com/kamailio/kamailio/commit/19b4c38c9612e88cb8664fd21c98d86…
---
diff --git a/config.h b/config.h
index 4083099..66ba0df 100644
--- a/config.h
+++ b/config.h
@@ -90,13 +90,16 @@
#define SERVER_HDR_LEN (sizeof(SERVER_HDR)-1)
#define MAX_WARNING_LEN 256
-
+
#define MY_BRANCH ";branch="
#define MY_BRANCH_LEN (sizeof(MY_BRANCH) - 1)
#define MAX_PORT_LEN 7 /* ':' + max 5 letters + \0 */
+
#define CRLF "\r\n"
#define CRLF_LEN (sizeof(CRLF) - 1)
+#define CRLFCRLF "\r\n\r\n"
+#define CRLFCRLF_LEN (sizeof(CRLFCRLF) - 1)
#define RECEIVED ";received="
#define RECEIVED_LEN (sizeof(RECEIVED) - 1)