From 5a3c7e0ea3131f8d81a282af4c3d93597c174684 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Fri, 17 Oct 2008 07:41:25 +0000 Subject: Modified keep-alive packet content for TCP/TLS from CRLF to double CRLF git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2352 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/include/pjsip/sip_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pjsip') diff --git a/pjsip/include/pjsip/sip_config.h b/pjsip/include/pjsip/sip_config.h index 34cae270..dea84b9f 100644 --- a/pjsip/include/pjsip/sip_config.h +++ b/pjsip/include/pjsip/sip_config.h @@ -413,7 +413,7 @@ PJ_INLINE(pjsip_cfg_t*) pjsip_cfg(void) * Default: CRLF */ #ifndef PJSIP_TCP_KEEP_ALIVE_DATA -# define PJSIP_TCP_KEEP_ALIVE_DATA { "\r\n", 2 } +# define PJSIP_TCP_KEEP_ALIVE_DATA { "\r\n\r\n", 4 } #endif @@ -436,7 +436,7 @@ PJ_INLINE(pjsip_cfg_t*) pjsip_cfg(void) * Default: CRLF */ #ifndef PJSIP_TLS_KEEP_ALIVE_DATA -# define PJSIP_TLS_KEEP_ALIVE_DATA { "\r\n", 2 } +# define PJSIP_TLS_KEEP_ALIVE_DATA { "\r\n\r\n", 4 } #endif -- cgit v1.2.3