Module: kamailio
Branch: master
Commit: 6649cdf51520cfcc366f2839316c8d45c233421b
URL: 
https://github.com/kamailio/kamailio/commit/6649cdf51520cfcc366f2839316c8d45c233421b

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2016-10-10T11:43:23+02:00

core: defined macro for CRLFCRLF

- used in pinging over tcp, makes it more coherent to use

---

Modified: config.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/6649cdf51520cfcc366f2839316c8d45c233421b.diff
Patch: 
https://github.com/kamailio/kamailio/commit/6649cdf51520cfcc366f2839316c8d45c233421b.patch

---

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)


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to